Skip to content

Commit c7abcea

Browse files
fix control chars test that also excluded space key (#4424)
1 parent a057917 commit c7abcea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/ui/inputbox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ bool UI_INPUTBOX::handle_textInputEvent(const SDL_Event& event) {
424424
if (event.text.text[0] != '\0' && event.text.text[0] != '\1') {
425425
int key_used = 0;
426426
for (char c : event.text.text) {
427-
if (c <= 32)
427+
if (c < 32)
428428
break;
429429

430430
add_input(c, &key_used);

0 commit comments

Comments
 (0)