aboutsummaryrefslogtreecommitdiff
path: root/src/ui/account_create_dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/account_create_dialog.c')
-rw-r--r--src/ui/account_create_dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/account_create_dialog.c b/src/ui/account_create_dialog.c
index 70e3fe3..b283092 100644
--- a/src/ui/account_create_dialog.c
+++ b/src/ui/account_create_dialog.c
@@ -83,7 +83,7 @@ account_create_dialog_event(UI_ACCOUNT_CREATE_DIALOG_Handle *create_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 = create_dialog->name_len - 1; i >= create_dialog->name_pos; i--) 89 for (int i = create_dialog->name_len - 1; i >= create_dialog->name_pos; i--)