typo combing

This commit is contained in:
Round-Pi
2023-02-20 10:55:53 -05:00
parent 80a64d8e1a
commit b89902942b
52 changed files with 118 additions and 118 deletions

View File

@@ -309,9 +309,9 @@ static void text_input_handle_ok(TextInput* text_input, TextInputModel* model, b
char selected = get_selected_char(model);
size_t text_length = strlen(model->text_buffer);
bool toogle_case = text_length == 0;
if(shift) toogle_case = !toogle_case;
if(toogle_case) {
bool toggle_case = text_length == 0;
if(shift) toggle_case = !toggle_case;
if(toggle_case) {
selected = char_to_uppercase(selected);
}