* key.c (mi_getch): Discard non-events (EV_NONE), but not

keycode 0 (Ctrl-@).
This commit is contained in:
Pavel Roskin 2001-03-02 23:04:52 +00:00
parent 59666a33ef
commit a53712bb71
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-03-02 Pavel Roskin <proski@gnu.org>
* key.c (mi_getch): Discard non-events (EV_NONE), but not
keycode 0 (Ctrl-@).
2001-02-26 Pavel Roskin <proski@gnu.org>
* cmd.c (edit_cmd) [HAVE_GNOME]: Use gmc_edit(). Don't use

View File

@ -832,7 +832,7 @@ int mi_getch ()
int key;
ev.x = -1;
while ((key = get_event (&ev, 0, 1)) == 0)
while ((key = get_event (&ev, 0, 1)) == EV_NONE)
;
return key;
}