mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Remove unnecessary optimization
This commit is contained in:
parent
0fdbc9498f
commit
c26ed0db5a
1 changed files with 1 additions and 5 deletions
|
|
@ -1485,11 +1485,7 @@ MusicDefStrcpy (char *p, const char *s, size_t n, int version)
|
||||||
if (version == MUSICDEF_220)
|
if (version == MUSICDEF_220)
|
||||||
{
|
{
|
||||||
while (( p = strchr(p, '_') ))
|
while (( p = strchr(p, '_') ))
|
||||||
{
|
*p++ = ' '; // turn _ into spaces.
|
||||||
n = strspn(p, "_");
|
|
||||||
memset(p, ' ', n); // turn _ into spaces.
|
|
||||||
p += n;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue