Fixed warning for Dano & Haiku builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,8 +34,12 @@ SetColorCommand::~SetColorCommand()
|
|||||||
status_t
|
status_t
|
||||||
SetColorCommand::InitCheck()
|
SetColorCommand::InitCheck()
|
||||||
{
|
{
|
||||||
|
#ifdef HAIKU_TARGET_PLATFORM_BEOS
|
||||||
return fStyle && *(uint32*)&fStyle->Color() != *(uint32*)&fColor ?
|
return fStyle && *(uint32*)&fStyle->Color() != *(uint32*)&fColor ?
|
||||||
B_OK : B_NO_INIT;
|
B_OK : B_NO_INIT;
|
||||||
|
#else
|
||||||
|
return fStyle && fStyle->Color() != fColor ? B_OK : B_NO_INIT;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Perform
|
// Perform
|
||||||
|
|||||||
Reference in New Issue
Block a user