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')) }*/ 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];