Engage brain: since when was zero >= 0x80 ?

This commit is contained in:
Michael Brown
2006-12-21 05:15:26 +00:00
parent 9c3b4e5b0b
commit f58f193633

View 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 */