mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 10:53:27 +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)
|
||||
{
|
||||
while (( p = strchr(p, '_') ))
|
||||
{
|
||||
n = strspn(p, "_");
|
||||
memset(p, ' ', n); // turn _ into spaces.
|
||||
p += n;
|
||||
}
|
||||
*p++ = ' '; // turn _ into spaces.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue