From 5e945f101823691b5333e206ba46b7f84788b710 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 21 May 2015 22:56:51 +0100 Subject: [PATCH] trs80,devtty: make clearer --- Kernel/platform-trs80/devtty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-trs80/devtty.c b/Kernel/platform-trs80/devtty.c index 79d75513..ff6d0750 100644 --- a/Kernel/platform-trs80/devtty.c +++ b/Kernel/platform-trs80/devtty.c @@ -215,7 +215,7 @@ static void keydecode(void) c &= 31; } } - if (capslock && c >= 'a' && c <= 'z') + else if (capslock && c >= 'a' && c <= 'z') c -= 'a' - 'A'; if (c) vt_inproc(1, c); -- 2.34.1