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:
parent
07b584f312
commit
1d17d43751
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user