Avoid overlapping key values defined by curses (Real fix).

Real fix for issue #438.
This commit is contained in:
Explorer09 2016-03-09 10:16:34 +08:00
parent f295a52ed9
commit 8a928c8b89
2 changed files with 2 additions and 2 deletions

2
CRT.c
View File

@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
void CRT_handleSIGSEGV(int sgn); void CRT_handleSIGSEGV(int sgn);
#define KEY_ALT(x) KEY_F(64) + (x - 'A') #define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
}*/ }*/

2
CRT.h
View File

@ -115,7 +115,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
void CRT_handleSIGSEGV(int sgn); 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]; extern const char *CRT_treeStrAscii[TREE_STR_COUNT];