Commit 426ae2f2 authored by Reinhard Karcher's avatar Reinhard Karcher Committed by Alexandre Julliard

user32: Speed improvement for 16bit comm support.

The previous version of this patch wasn't applied correctly.
parent 26f29fda
......@@ -721,7 +721,9 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
if (lpStat) {
lpStat->status = 0;
SleepEx(1,TRUE);
if (comm_inbuf(ptr) == 0)
SleepEx(1,TRUE);
lpStat->cbOutQue = comm_outbuf(ptr);
lpStat->cbInQue = comm_inbuf(ptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment