hrev43568 adds 1 changeset to branch 'master' old head: baadc350b50d030ab72f5d71d15fe0722811d485 new head: 0fa5c8f5282cbd087e8bcf0c5cd7fb68f84719b6 ---------------------------------------------------------------------------- 0fa5c8f: Constant expression result Usage of | rather than & to check a binary mask. CID 11031. [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev43568 Commit: 0fa5c8f5282cbd087e8bcf0c5cd7fb68f84719b6 URL: http://cgit.haiku-os.org/haiku/commit/?id=0fa5c8f Author: Philippe Saint-Pierre <stpere@xxxxxxxxx> Date: Wed Dec 28 04:27:20 2011 UTC ---------------------------------------------------------------------------- 1 files changed, 2 insertions(+), 2 deletions(-) src/servers/mail/Notifier.cpp | 4 ++-- ---------------------------------------------------------------------------- diff --git a/src/servers/mail/Notifier.cpp b/src/servers/mail/Notifier.cpp index eb8fa0f..2a80c01 100644 --- a/src/servers/mail/Notifier.cpp +++ b/src/servers/mail/Notifier.cpp @@ -131,8 +131,8 @@ DefaultNotifier::ReportProgress(int bytes, int messages, const char* message) if (fItemsDone == fTotalItems && fTotalItems != 0) timeout = 1; // We're done, make the window go away faster - if ((!fIsInbound && fShowMode | B_MAIL_SHOW_STATUS_WINDOW_WHEN_SENDING) - || (fIsInbound && fShowMode | B_MAIL_SHOW_STATUS_WINDOW_WHEN_ACTIVE)) + if ((!fIsInbound && fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_SENDING) + || (fIsInbound && fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_ACTIVE)) fNotification.Send(timeout); }