summaryrefslogtreecommitdiffstats
path: root/CRT.h
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.h
parentf295a52ed9981232b5b97906dba952016f52449b (diff)
Avoid overlapping key values defined by curses (Real fix).
Real fix for issue #438.
Diffstat (limited to 'CRT.h')
-rw-r--r--CRT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CRT.h b/CRT.h
index 8753da76..fb824136 100644
--- a/CRT.h
+++ b/CRT.h
@@ -115,7 +115,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'))
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];

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