Change GRUB_TERM_NO_KEY to 0

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-23 13:21:53 +02:00
parent 9f5a5ad55a
commit 3ba3c4567e
2 changed files with 2 additions and 3 deletions

View file

@ -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. */

View file

@ -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