Do not trust isalpha(c) for values > 255.

Fixes #174.

Conflicts:
	Panel.c
This commit is contained in:
Hisham Muhammad
2015-03-22 22:56:28 -03:00
parent ade7993fcb
commit 54f8d8154b
7 changed files with 7 additions and 7 deletions

View File

@ -100,7 +100,7 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) {
}
default:
{
if (isalpha(ch))
if (ch < 255 && isalpha(ch))
result = Panel_selectByTyping(super, ch);
if (result == BREAK_LOOP)
result = IGNORED;