src/music/extmidi.cpp
changeset 10310 ca2eb5811a07
parent 9111 48ce04029fe4
equal deleted inserted replaced
10309:a3519caf1001 10310:ca2eb5811a07
    32 	this->DoStop();
    32 	this->DoStop();
    33 }
    33 }
    34 
    34 
    35 void MusicDriver_ExtMidi::PlaySong(const char* filename)
    35 void MusicDriver_ExtMidi::PlaySong(const char* filename)
    36 {
    36 {
    37 	ttd_strlcpy(this->song, filename, lengthof(this->song));
    37 	strecpy(this->song, filename, lastof(this->song));
    38 	this->DoStop();
    38 	this->DoStop();
    39 }
    39 }
    40 
    40 
    41 void MusicDriver_ExtMidi::StopSong()
    41 void MusicDriver_ExtMidi::StopSong()
    42 {
    42 {