Commit fd3d5721 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Replaced incorrect C comparison construct.

parent 304f106a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment