From: hpa Date: Mon, 22 Aug 2005 18:00:21 +0000 (+0000) Subject: Fix from Murali: wrong return value X-Git-Tag: syslinux-3.11~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f2025354a5ad57cfaa1938b19aa836cfc8c5fb3;p=profile%2Fivi%2Fsyslinux.git Fix from Murali: wrong return value --- diff --git a/menu/libmenu/com32io.c b/menu/libmenu/com32io.c index a493142..92a67a0 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