From 5bc70d9e56ccd91b9909894e5a8d3ddd15e42a2a Mon Sep 17 00:00:00 2001 From: IoIxD <30945097+IoIxD@users.noreply.github.com> Date: Mon, 3 Jun 2024 01:05:00 -0700 Subject: [PATCH] rtext: removed always false comparison --- src/rtext.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/rtext.c b/src/rtext.c index 3135f8c2f..118a559d6 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -1842,14 +1842,7 @@ const char *TextToCamel(const char *text) j++; if ((text[j] >= 'a') && (text[j] <= 'z')) { - if (i == 0) - { - buffer[i] = text[j]; - } - else - { - buffer[i] = text[j] - 32; - } + buffer[i] = text[j] - 32; } } }