aboutsummaryrefslogtreecommitdiffstats
path: root/menu
diff options
context:
space:
mode:
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