(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible

This commit is contained in:
skidd13
2008-11-02 11:20:15 +00:00
parent 44a774a277
commit 9b282b3e51
23 changed files with 85 additions and 85 deletions

View File

@@ -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();
}