diff options
-rw-r--r-- | sys/boot/i386/libi386/vidconsole.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/libi386/vidconsole.c b/sys/boot/i386/libi386/vidconsole.c index c67cd72..4b8c764 100644 --- a/sys/boot/i386/libi386/vidconsole.c +++ b/sys/boot/i386/libi386/vidconsole.c @@ -26,7 +26,7 @@ * * From Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp * - * $Id: vidconsole.c,v 1.5 1998/10/07 07:34:31 msmith Exp $ + * $Id: vidconsole.c,v 1.6 1998/10/11 10:07:52 peter Exp $ */ #include <stand.h> @@ -120,9 +120,7 @@ vidc_ischar(void) v86.addr = 0x16; v86.eax = 0x100; v86int(); - if (!(v86.efl & PSL_Z)) - return(v86.eax & 0xff); - return(0); + return(!(v86.efl & PSL_Z)); } #if KEYBOARD_PROBE |