Messenger: style fix.

Change-Id: I5b1b7e745de91bd1bedbbbe13faf848fdd284785
Reviewed-on: https://review.haiku-os.org/c/1565
Reviewed-by: Rene Gollent <[email protected]>
This commit is contained in:
Jérôme Duval
2019-07-08 18:53:48 +00:00
committed by Rene Gollent
parent 5c97129ce3
commit d2e519391f
+1 -1
View File
@@ -388,7 +388,7 @@ void
BMessenger::_InitData(const BHandler* handler, const BLooper* looper,
status_t* _result)
{
status_t result = handler || looper != NULL ? B_OK : B_BAD_VALUE;
status_t result = (handler != NULL || looper != NULL) ? B_OK : B_BAD_VALUE;
if (result == B_OK) {
if (handler != NULL) {
// BHandler is given, check/retrieve the looper.