Engage brain: since when was zero >= 0x80 ?
authorMichael Brown <mcb30@etherboot.org>
Thu, 21 Dec 2006 05:15:26 +0000 (05:15 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 21 Dec 2006 05:15:26 +0000 (05:15 +0000)
src/arch/i386/firmware/pcbios/bios_console.c

index f6867ed..9ad0a72 100644 (file)
@@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
        character = ( keypress & 0xff );
 
        /* If it's a normal character, just return it */
-       if ( character < 0x80 )
+       if ( character && ( character < 0x80 ) )
                return character;
 
        /* Otherwise, check for a special key that we know about */