Update of /cvsroot/audacity/audacity-src/src/import
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv27457/import

Modified Files:
        ImportMIDI.cpp 
Log Message:
Refined the process of exporting MIDI files, and changed the behavior of 
highlighting NoteTracks.

Index: ImportMIDI.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/import/ImportMIDI.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ImportMIDI.cpp      12 Jul 2008 22:00:47 -0000      1.13
+++ ImportMIDI.cpp      19 Aug 2008 23:51:18 -0000      1.14
@@ -33,7 +33,7 @@
    }
 
    bool is_midi = false;
-   if (fName.Right(4).CmpNoCase(wxT(".mid")) == 0)
+   if (fName.Right(4).CmpNoCase(wxT(".mid")) == 0 || 
fName.Right(5).CmpNoCase(wxT(".midi")) == 0)
       is_midi = true;
    else if(fName.Right(4).CmpNoCase(wxT(".gro")) != 0) {
       wxMessageBox( _("Could not open file ") + fName + _(": Incorrect 
filetype."));


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to