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