Replaced incorrect C comparison construct.

This commit is contained in:
Marcus Meissner 2004-08-02 18:25:42 +00:00 committed by Alexandre Julliard
parent 304f106a07
commit fd3d572190
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ int WINAPI WTDataGet(HCTX hCtx, UINT wBegin, UINT wEnd,
context->PacketQueue[end].pkSerialNumber != wEnd)
end++;
if (bgn == end == context->PacketsQueued)
if ((bgn == end) && (end == context->PacketsQueued))
{
LeaveCriticalSection(&csTablet);
return 0;