ole32: Fix a potentially confusing combination of conditional and bitwise or operators by adding extra brackets.
This commit is contained in:
parent
a10cf16449
commit
bfa6ddaeb7
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue