Change GRUB_TERM_NO_KEY to 0
This commit is contained in:
parent
9f5a5ad55a
commit
3ba3c4567e
2 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
#ifndef GRUB_TERM_HEADER
|
#ifndef GRUB_TERM_HEADER
|
||||||
#define GRUB_TERM_HEADER 1
|
#define GRUB_TERM_HEADER 1
|
||||||
|
|
||||||
#define GRUB_TERM_NO_KEY -1
|
#define GRUB_TERM_NO_KEY 0
|
||||||
|
|
||||||
/* Internal codes used by GRUB to represent terminal input. */
|
/* Internal codes used by GRUB to represent terminal input. */
|
||||||
/* Only for keys otherwise not having shifted modification. */
|
/* Only for keys otherwise not having shifted modification. */
|
||||||
|
|
|
@ -1226,10 +1226,9 @@ notpending:
|
||||||
.code16
|
.code16
|
||||||
DATA32 call real_to_prot
|
DATA32 call real_to_prot
|
||||||
.code32
|
.code32
|
||||||
#if GRUB_TERM_NO_KEY != -1
|
#if GRUB_TERM_NO_KEY != 0
|
||||||
#error Fix this asm code
|
#error Fix this asm code
|
||||||
#endif
|
#endif
|
||||||
decl %eax
|
|
||||||
jmp 2b
|
jmp 2b
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue