From f295a52ed9981232b5b97906dba952016f52449b Mon Sep 17 00:00:00 2001 From: Hisham Date: Tue, 8 Mar 2016 12:23:18 -0300 Subject: [PATCH] Avoid overlapping key values defined by curses. Closes #438. --- CRT.c | 2 +- CRT.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRT.c b/CRT.c index 673e9512..314a70ac 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(60) + (x - 'A') +#define KEY_ALT(x) KEY_F(64) + (x - 'A') }*/ diff --git a/CRT.h b/CRT.h index ba10699e..8753da76 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(60) + (x - 'A') +#define KEY_ALT(x) KEY_F(64) + (x - 'A') extern const char *CRT_treeStrAscii[TREE_STR_COUNT];