瀏覽代碼

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

tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
f58f193633
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/arch/i386/firmware/pcbios/bios_console.c

+ 1
- 1
src/arch/i386/firmware/pcbios/bios_console.c 查看文件

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

Loading…
取消
儲存