We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d5353 commit 72a341aCopy full SHA for 72a341a
1 file changed
src/rtext.c
@@ -1724,7 +1724,7 @@ const char *TextRemoveSpaces(const char *text)
1724
if (text != NULL)
1725
{
1726
// Avoid copying the ' ' characters
1727
- for (int i = 0, j = 0; (i < MAX_TEXT_BUFFER_LENGTH - 1) && (text[j] != '\0'); i++)
+ for (int i = 0, j = 0; (i < MAX_TEXT_BUFFER_LENGTH - 1) && (text[i] != '\0'); i++)
1728
1729
if (text[i] != ' ') { buffer[j] = text[i]; j++; }
1730
}
0 commit comments