diff options
Diffstat (limited to 'CategoriesPanel.c')
-rw-r--r-- | CategoriesPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CategoriesPanel.c b/CategoriesPanel.c index 8a1e16df..c12b3905 100644 --- a/CategoriesPanel.c +++ b/CategoriesPanel.c @@ -81,7 +81,7 @@ static HandlerResult CategoriesPanel_eventHandler(Panel* super, int ch) { break; } 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; |