rtext: removed always false comparison

This commit is contained in:
IoIxD 2024-06-03 01:05:00 -07:00 committed by GitHub
parent 80fecccca8
commit 5bc70d9e56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1842,14 +1842,7 @@ const char *TextToCamel(const char *text)
j++; j++;
if ((text[j] >= 'a') && (text[j] <= 'z')) if ((text[j] >= 'a') && (text[j] <= 'z'))
{ {
if (i == 0) buffer[i] = text[j] - 32;
{
buffer[i] = text[j];
}
else
{
buffer[i] = text[j] - 32;
}
} }
} }
} }