user32: Speed improvement for 16bit comm support.

This commit is contained in:
Reinhard Karcher 2007-01-01 17:45:06 +01:00 committed by Alexandre Julliard
parent 64c1c017c4
commit dff43b732b
1 changed files with 2 additions and 3 deletions

View File

@ -719,9 +719,8 @@ INT16 WINAPI GetCommError16(INT16 cid,LPCOMSTAT16 lpStat)
stol = (unsigned char *)COM[cid].unknown + COMM_MSR_OFFSET;
COMM_MSRUpdate( ptr->handle, stol );
if (lpStat) {
lpStat->status = 0;
if (lpStat) {
lpStat->status = 0;
SleepEx(1,TRUE);
lpStat->cbOutQue = comm_outbuf(ptr);