Merge pull request #441 from Explorer09/issue-438

Avoid overlapping key values defined by curses (Real fix).
This commit is contained in:
Hisham Muhammad 2016-03-09 02:03:11 -03:00
commit 3283c6d23c
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];