ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets.

This commit is contained in:
Rob Shearman 2008-02-13 12:35:08 +00:00 committed by Alexandre Julliard
parent a10cf16449
commit bfa6ddaeb7
1 changed files with 2 additions and 2 deletions

View File

@ -3432,8 +3432,8 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout,
if (message_loop)
{
DWORD wait_flags = (dwFlags & COWAIT_WAITALL) ? MWMO_WAITALL : 0 |
(dwFlags & COWAIT_ALERTABLE ) ? MWMO_ALERTABLE : 0;
DWORD wait_flags = ((dwFlags & COWAIT_WAITALL) ? MWMO_WAITALL : 0) |
((dwFlags & COWAIT_ALERTABLE ) ? MWMO_ALERTABLE : 0);
TRACE("waiting for rpc completion or window message\n");