Review games

This commit is contained in:
Ray
2019-05-21 22:36:52 +02:00
parent b1806f6600
commit 477f05db13
10 changed files with 224 additions and 89 deletions

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