diff options
Diffstat (limited to 'src/ui/chat_open_dialog.c')
-rw-r--r-- | src/ui/chat_open_dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/chat_open_dialog.c b/src/ui/chat_open_dialog.c index 4ebe8be..180d7be 100644 --- a/src/ui/chat_open_dialog.c +++ b/src/ui/chat_open_dialog.c | |||
@@ -83,7 +83,7 @@ chat_open_dialog_event(UI_CHAT_OPEN_DIALOG_Handle *open_dialog, | |||
83 | } | 83 | } |
84 | default: | 84 | default: |
85 | { | 85 | { |
86 | if (!isalnum(key)) | 86 | if (!isprint(key)) |
87 | break; | 87 | break; |
88 | 88 | ||
89 | for (int i = open_dialog->topic_len - 1; i >= open_dialog->topic_pos; i--) | 89 | for (int i = open_dialog->topic_len - 1; i >= open_dialog->topic_pos; i--) |