diff options
Diffstat (limited to 'ColumnsPanel.c')
-rw-r--r-- | ColumnsPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ColumnsPanel.c b/ColumnsPanel.c index 587175c8..318c7af8 100644 --- a/ColumnsPanel.c +++ b/ColumnsPanel.c @@ -91,7 +91,7 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) { } default: { - if (ch < 255 && isalpha(ch)) + if (0 < ch && ch < 255 && isalpha((unsigned char)ch)) result = Panel_selectByTyping(super, ch); if (result == BREAK_LOOP) result = IGNORED; |