diff options
Diffstat (limited to 'kbd.c')
-rw-r--r-- | kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,12 +20,12 @@ kbd_getc(void) if(data == 0xE0){ shift |= E0ESC; return 0; - }else if(data & 0x80){ + } else if(data & 0x80){ // Key released data = (shift & E0ESC ? data : data & 0x7F); shift &= ~(shiftcode[data] | E0ESC); return 0; - }else if(shift & E0ESC){ + } else if(shift & E0ESC){ // Last character was an E0 escape; or with 0x80 data |= 0x80; shift &= ~E0ESC; |