Module: wine Branch: master Commit: 928fffee8dac4a9555bbbc141d9f29483422eee1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=928fffee8dac4a9555bbbc141...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Jul 24 20:39:53 2020 +0200
wineconsole: Ignore ERROR_IO_INCOMPLETE error in WINECON_GrabChanges.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/wineconsole/wineconsole.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index be6ddf2000..ad3cd25bf5 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -212,6 +212,7 @@ void WINECON_GrabChanges(struct inner_data* data)
if (!GetOverlappedResult(data->hSynchro, &data->overlapped, &num, FALSE)) { + if (GetLastError() == ERROR_IO_INCOMPLETE) return; ERR( "failed to get renderer events: %u\n", GetLastError() ); data->dying = TRUE; return;