diff -r a3519caf1001 -r ca2eb5811a07 src/music/extmidi.cpp --- a/src/music/extmidi.cpp Sun Nov 02 11:15:26 2008 +0000 +++ b/src/music/extmidi.cpp Sun Nov 02 11:20:15 2008 +0000 @@ -34,7 +34,7 @@ void MusicDriver_ExtMidi::PlaySong(const char* filename) { - ttd_strlcpy(this->song, filename, lengthof(this->song)); + strecpy(this->song, filename, lastof(this->song)); this->DoStop(); }