Replaced incorrect C comparison construct.
This commit is contained in:
parent
304f106a07
commit
fd3d572190
|
@ -740,7 +740,7 @@ int WINAPI WTDataGet(HCTX hCtx, UINT wBegin, UINT wEnd,
|
||||||
context->PacketQueue[end].pkSerialNumber != wEnd)
|
context->PacketQueue[end].pkSerialNumber != wEnd)
|
||||||
end++;
|
end++;
|
||||||
|
|
||||||
if (bgn == end == context->PacketsQueued)
|
if ((bgn == end) && (end == context->PacketsQueued))
|
||||||
{
|
{
|
||||||
LeaveCriticalSection(&csTablet);
|
LeaveCriticalSection(&csTablet);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue