Explorar el Código

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

tags/v0.9.3
Michael Brown hace 18 años
padre
commit
f58f193633
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/arch/i386/firmware/pcbios/bios_console.c

+ 1
- 1
src/arch/i386/firmware/pcbios/bios_console.c Ver fichero

@@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
249 249
 	character = ( keypress & 0xff );
250 250
 
251 251
 	/* If it's a normal character, just return it */
252
-	if ( character < 0x80 )
252
+	if ( character && ( character < 0x80 ) )
253 253
 		return character;
254 254
 
255 255
 	/* Otherwise, check for a special key that we know about */

Loading…
Cancelar
Guardar