From 5b4f009be5acde08a5d32494a92f3d604b2ba97e Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Mon, 20 Jan 2020 20:06:26 +0100 Subject: [PATCH] up --- kaleid/kernel/io/keyb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kaleid/kernel/io/keyb.c b/kaleid/kernel/io/keyb.c index 27b2dd6..bdf9f0c 100644 --- a/kaleid/kernel/io/keyb.c +++ b/kaleid/kernel/io/keyb.c @@ -46,8 +46,8 @@ static void KeybPrint(uchar _code) : (shiftPressed ? LeftShiftScanCodes : RegularScanCodes))); - if (capsLockActive && (FLAGS(code) & CAPSLOCK)) - && !(altPressed || controlPressed)) { + if ((capsLockActive && (FLAGS(code) & CAPSLOCK)) + && !(altPressed || controlPressed)) { if (shiftPressed) table = RegularScanCodes; else