screen_blanker: fix warning.

This commit is contained in:
Jérôme Duval
2015-11-23 20:48:15 +01:00
parent 2bc202c430
commit 69a973e2f7
+2 -2
View File
@@ -37,8 +37,8 @@ ScreenSaverFilter::Filter(BMessage* message, BHandler** target)
// in test mode, all mouse move events are ignored // in test mode, all mouse move events are ignored
bool transitOnly = false; bool transitOnly = false;
if (fTestMode if (fTestMode
|| message->FindBool("be:transit_only", &transitOnly) == B_OK || (message->FindBool("be:transit_only", &transitOnly)
&& transitOnly) == B_OK && transitOnly))
return B_DISPATCH_MESSAGE; return B_DISPATCH_MESSAGE;
// Fall through // Fall through