Fixed SetMessageQueue32 to return FALSE, not TRUE, when called with
an invalid size parameter.
This commit is contained in:
parent
690d37967e
commit
d772adab0f
|
@ -809,7 +809,7 @@ BOOL32 WINAPI SetMessageQueue32( INT32 size )
|
|||
|
||||
TRACE(msg,"task %04x size %i\n", GetCurrentTask(), size);
|
||||
|
||||
if ((size > MAX_QUEUE_SIZE) || (size <= 0)) return TRUE;
|
||||
if ((size > MAX_QUEUE_SIZE) || (size <= 0)) return FALSE;
|
||||
|
||||
if( !(hNewQueue = QUEUE_CreateMsgQueue( size )))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue