summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2016-03-09 10:16:34 +0800
committerExplorer09 <explorer09@gmail.com>2016-03-09 10:16:34 +0800
commit8a928c8b89b284ae9c2462cf25fcd9df35d6c3e6 (patch)
treed6351673652a73f41f19eee7dccc7f659b396822 /CRT.c
parentf295a52ed9981232b5b97906dba952016f52449b (diff)
Avoid overlapping key values defined by curses (Real fix).
Real fix for issue #438.
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CRT.c b/CRT.c
index 314a70ac..3e8200b0 100644
--- a/CRT.c
+++ b/CRT.c
@@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
void CRT_handleSIGSEGV(int sgn);
-#define KEY_ALT(x) KEY_F(64) + (x - 'A')
+#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
}*/

© 2014-2024 Faster IT GmbH | imprint | privacy policy