mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-05 21:59:18 -05:00
Review games
This commit is contained in:
@ -222,7 +222,7 @@ static char *StringReplace(char *orig, char *rep, char *with)
|
||||
|
||||
// Count the number of replacements needed
|
||||
ins = orig;
|
||||
for (count = 0; tmp = strstr(ins, rep); ++count)
|
||||
for (count = 0; (tmp = strstr(ins, rep)); ++count)
|
||||
{
|
||||
ins = tmp + len_rep;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user