Change style of boolean expression to enhance readability.
This commit is contained in:
@@ -131,8 +131,10 @@ DefaultNotifier::ReportProgress(int bytes, int messages, const char* message)
|
|||||||
if (fItemsDone == fTotalItems && fTotalItems != 0)
|
if (fItemsDone == fTotalItems && fTotalItems != 0)
|
||||||
timeout = 1; // We're done, make the window go away faster
|
timeout = 1; // We're done, make the window go away faster
|
||||||
|
|
||||||
if ((!fIsInbound && fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_SENDING)
|
if ((!fIsInbound
|
||||||
|| (fIsInbound && fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_ACTIVE))
|
&& (fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_SENDING) != 0)
|
||||||
|
|| (fIsInbound
|
||||||
|
&& (fShowMode & B_MAIL_SHOW_STATUS_WINDOW_WHEN_ACTIVE) != 0))
|
||||||
fNotification.Send(timeout);
|
fNotification.Send(timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user