Robert Shearman rob@codeweavers.com writes:
diff --git a/dlls/user32/comm16.c b/dlls/user32/comm16.c index 9329c82..0164196 100644 --- a/dlls/user32/comm16.c +++ b/dlls/user32/comm16.c @@ -719,9 +719,8 @@ INT16 WINAPI GetCommError16(INT16 cid,LP stol = (unsigned char *)COM[cid].unknown + COMM_MSR_OFFSET; COMM_MSRUpdate( ptr->handle, stol );
- if (lpStat) {
lpStat->status = 0;
if (lpStat) {
SleepEx(1,TRUE); lpStat->cbOutQue = comm_outbuf(ptr);lpStat->status = 0;
This patch doesn't seem to do what it says it does.
Indeed, thanks for spotting this. It's the second time this happens, it seems that Emacs diff mode cannot be trusted to apply hunks correctly :-(