aboutsummaryrefslogtreecommitdiffstats
path: root/menu
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-22 18:00:21 +0000
committerhpa <hpa>2005-08-22 18:00:21 +0000
commit2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3 (patch)
treefc982f01da7db48d916746430b0bb28d58ef36b8 /menu
parenta0d3b817f59ef68ae28f61d0ca531119b37106d7 (diff)
downloadsyslinux-elf-2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3.tar.gz
syslinux-elf-2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3.tar.xz
syslinux-elf-2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3.zip
Fix from Murali: wrong return value
Diffstat (limited to 'menu')
-rw-r--r--menu/libmenu/com32io.c2
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