diff options
author | hpa <hpa> | 2005-08-22 18:00:21 +0000 |
---|---|---|
committer | hpa <hpa> | 2005-08-22 18:00:21 +0000 |
commit | 2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3 (patch) | |
tree | fc982f01da7db48d916746430b0bb28d58ef36b8 /menu | |
parent | a0d3b817f59ef68ae28f61d0ca531119b37106d7 (diff) | |
download | syslinux-2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3.tar.gz |
Fix from Murali: wrong return value
Diffstat (limited to 'menu')
-rw-r--r-- | menu/libmenu/com32io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/menu/libmenu/com32io.c b/menu/libmenu/com32io.c index a4931428..92a67a0b 100644 --- a/menu/libmenu/com32io.c +++ b/menu/libmenu/com32io.c @@ -133,7 +133,7 @@ unsigned char checkkbdbuf() { REG_AH(inreg) = 0x11; __intcall(0x16,&inreg,&outreg); - return (outreg.eflags.l & EFLAGS_ZF); + return !(outreg.eflags.l & EFLAGS_ZF); } // Get char displayed at current position |