From fd3d572190181bdc6a48e7b124925bd27894b2b2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 2 Aug 2004 18:25:42 +0000 Subject: [PATCH] Replaced incorrect C comparison construct. --- dlls/wintab32/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c index 7e41396e4a2..bbcbe78049b 100644 --- a/dlls/wintab32/context.c +++ b/dlls/wintab32/context.c @@ -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;