Fix test for pending message in QUEUE_ReceiveMessage().

This commit is contained in:
James Abbatiello 2000-11-05 03:17:41 +00:00 committed by Alexandre Julliard
parent 2239abb9f9
commit 077e66c27c

View file

@ -918,7 +918,7 @@ void QUEUE_ReceiveMessage( MESSAGEQUEUE *queue )
TRACE_(sendmsg)("queue %04x\n", queue->self ); TRACE_(sendmsg)("queue %04x\n", queue->self );
if ( !(queue->wakeBits & QS_SENDMESSAGE) && queue->smPending ) if ( !((queue->wakeBits & QS_SENDMESSAGE) && queue->smPending) )
{ {
TRACE_(sendmsg)("\trcm: nothing to do\n"); TRACE_(sendmsg)("\trcm: nothing to do\n");
return; return;