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

@ -54,7 +54,7 @@ static HandlerResult AvailableColumnsPanel_eventHandler(Panel* super, int ch) {
}
default:
{
if (isalpha(ch))
if (ch < 255 && isalpha(ch))
result = Panel_selectByTyping(super, ch);
break;
}