mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 19:31:26 +00:00
Remove unnecessary optimization
This commit is contained in:
parent
9dbc54284e
commit
2d8ea7125c
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…
Reference in a new issue