From b89153a9082922145f424b6188a360b262001b13 Mon Sep 17 00:00:00 2001 From: RogueMaster Date: Sun, 25 Sep 2022 13:39:42 -0400 Subject: [PATCH] Update text_input.c --- applications/services/gui/modules/text_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/services/gui/modules/text_input.c b/applications/services/gui/modules/text_input.c index 404b26d1f..755598c04 100644 --- a/applications/services/gui/modules/text_input.c +++ b/applications/services/gui/modules/text_input.c @@ -130,8 +130,8 @@ static bool char_is_lowercase(char letter) { return (letter >= 0x61 && letter <= 0x7A); } -static char char_to_uppercase(TextInputModel* model, const char letter) { - if(letter == '_' && !model->clear_default_text) { +static char char_to_uppercase(const char letter) { + if(letter == '_') { return 0x20; } else if(isalpha(letter)) { return (letter - 0x20);