From 2b4f3ec06989b71b8553982447f154cbe3888bc8 Mon Sep 17 00:00:00 2001 From: Robert North <7ownq0k402@sneakemail.com> Date: Mon, 24 Jan 2005 13:32:55 +0000 Subject: [PATCH] - Correct overflow 1 message too early. - Overflow now going onto message queue. - Overflow state correctly or-ed with other packet status. --- dlls/wintab32/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c index 707e62c731b..b65fa0f36d1 100644 --- a/dlls/wintab32/context.c +++ b/dlls/wintab32/context.c @@ -203,10 +203,10 @@ LPOPENCONTEXT AddPacketToContextQueue(LPWTPACKET packet, HWND hwnd) DUMPPACKET(*packet); - if (tgt + 1 == ptr->QueueSize) + if (tgt == ptr->QueueSize) { TRACE("Queue Overflow %p\n",ptr->handle); - packet->pkStatus = TPS_QUEUE_ERR; + ptr->PacketQueue[tgt-1].pkStatus |= TPS_QUEUE_ERR; } else {