Debian Codegraph @

stubdom/grub.patches/11graphics-keyboard.diff

raw
1 diff --git a/stage2/stage2.c b/stage2/stage2.c
2 index 9d9fcc3..8353a3b 100644
3 --- a/stage2/stage2.c
4 +++ b/stage2/stage2.c
5 @@ -395,7 +395,7 @@ restart:
6 pressed.
7 This avoids polling (relevant in the grub-shell and later on
8 in grub if interrupt driven I/O is done). */
9 - if (checkkey () >= 0 || grub_timeout < 0)
10 + if (checkkey () > 0 || grub_timeout < 0)
11 {
12 /* Key was pressed, show which entry is selected before GETKEY,
13 since we're comming in here also on GRUB_TIMEOUT == -1 and