B_ALL_WORKSPACES -> B_CURRENT_WORKSPACE

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12516 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-04-30 06:04:48 +00:00
parent 794ca5f2f8
commit 1f41d635e9
+2 -2
View File
@@ -1,5 +1,5 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Copyright (c) 2002-2004, Haiku // Copyright (c) 2002-2005, Haiku
// //
// Permission is hereby granted, free of charge, to any person obtaining a // Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"), // copy of this software and associated documentation files (the "Software"),
@@ -90,7 +90,7 @@ color_space
BPrivateScreen::ColorSpace() BPrivateScreen::ColorSpace()
{ {
display_mode mode; display_mode mode;
if (GetMode(B_ALL_WORKSPACES, &mode) == B_OK) if (GetMode(B_CURRENT_WORKSPACE, &mode) == B_OK)
return (color_space)mode.space; return (color_space)mode.space;
return B_NO_COLOR_SPACE; return B_NO_COLOR_SPACE;