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:
committed by
Rene Gollent
parent
5c97129ce3
commit
d2e519391f
@@ -388,7 +388,7 @@ void
|
|||||||
BMessenger::_InitData(const BHandler* handler, const BLooper* looper,
|
BMessenger::_InitData(const BHandler* handler, const BLooper* looper,
|
||||||
status_t* _result)
|
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 (result == B_OK) {
|
||||||
if (handler != NULL) {
|
if (handler != NULL) {
|
||||||
// BHandler is given, check/retrieve the looper.
|
// BHandler is given, check/retrieve the looper.
|
||||||
|
|||||||
Reference in New Issue
Block a user