Review games

This commit is contained in:
Ray 2019-05-21 22:36:52 +02:00
commit 477f05db13

View file

@ -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;
}