(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
This commit is contained in:
@@ -34,7 +34,7 @@ void MusicDriver_ExtMidi::Stop()
|
||||
|
||||
void MusicDriver_ExtMidi::PlaySong(const char* filename)
|
||||
{
|
||||
ttd_strlcpy(this->song, filename, lengthof(this->song));
|
||||
strecpy(this->song, filename, lastof(this->song));
|
||||
this->DoStop();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user