mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue