Messenger: style fix.
Change-Id: I5b1b7e745de91bd1bedbbbe13faf848fdd284785 Reviewed-on: https://review.haiku-os.org/c/1565 Reviewed-by: Rene Gollent <rene@gollent.com>
This commit is contained in:
parent
5c97129ce3
commit
d2e519391f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user