tIn eread, ignore unexpected events instead of returning early. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8e06ea1b42726a61e3fcff3ccb6cefe29cbfc387
(DIR) parent d1e25ee94ec984b7557a4d4a178faee0b03f18ee
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 15 Sep 2005 17:18:00 +0000
In eread, ignore unexpected events instead of returning early.
Diffstat:
M src/libdraw/x11-event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libdraw/x11-event.c b/src/libdraw/x11-event.c
t@@ -90,7 +90,7 @@ again:
goto again;
return Ekeyboard;
default:
- return 0;
+ goto again;
}
}