- Correct overflow 1 message too early.
- Overflow now going onto message queue. - Overflow state correctly or-ed with other packet status.
This commit is contained in:
parent
38b14b4ccf
commit
2b4f3ec069
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue