Remove unnecessary optimization

This commit is contained in:
James R 2020-01-20 15:36:27 -08:00
parent 0fdbc9498f
commit c26ed0db5a

View file

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