mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Do not trust isalpha(c) for values > 255.
Fixes #174. Conflicts: Panel.c
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user