- Correct overflow 1 message too early.

- Overflow now going onto message queue.
- Overflow state correctly or-ed with other packet status.
oldstable
Robert North 2005-01-24 13:32:55 +00:00 committed by Alexandre Julliard
parent 38b14b4ccf
commit 2b4f3ec069
1 changed files with 2 additions and 2 deletions

View File

@ -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
{