13
0

accept .MID as a MIDI file extension, not just .mid

git-svn-id: svn://localhost/ardour2/branches/3.0@9839 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-07-11 16:10:45 +00:00
parent 07b584f312
commit 1d17d43751

View File

@ -446,7 +446,7 @@ SMFSource::mark_streaming_write_completed ()
bool
SMFSource::safe_midi_file_extension (const string& file)
{
return (file.rfind(".mid") != string::npos);
return (file.rfind(".mid") != string::npos) || (file.rfind (".MID") != string::npos);
}
void