summaryrefslogtreecommitdiffstats
path: root/CategoriesPanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'CategoriesPanel.c')
-rw-r--r--CategoriesPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CategoriesPanel.c b/CategoriesPanel.c
index fe55a88a..8cb442e4 100644
--- a/CategoriesPanel.c
+++ b/CategoriesPanel.c
@@ -97,7 +97,7 @@ static HandlerResult CategoriesPanel_eventHandler(Panel* super, int ch) {
break;
}
default:
- if (isalpha(ch))
+ if (ch < 255 && isalpha(ch))
result = Panel_selectByTyping(super, ch);
if (result == BREAK_LOOP)
result = IGNORED;