From 1f41d635e9ccc4d8f5deee414e794c81a06fed38 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sat, 30 Apr 2005 06:04:48 +0000 Subject: [PATCH] B_ALL_WORKSPACES -> B_CURRENT_WORKSPACE git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12516 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/PrivateScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/PrivateScreen.cpp b/src/kits/interface/PrivateScreen.cpp index 9137bd3ff6..7207d58ee6 100644 --- a/src/kits/interface/PrivateScreen.cpp +++ b/src/kits/interface/PrivateScreen.cpp @@ -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 // copy of this software and associated documentation files (the "Software"), @@ -90,7 +90,7 @@ color_space BPrivateScreen::ColorSpace() { 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 B_NO_COLOR_SPACE;