Update of /cvsroot/audacity/audacity-src/src In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4621/src
Modified Files: AudacityApp.cpp Log Message: Open files listed on command-line with absolute paths. This makes file name comparisons work if you later overwrite the files. Index: AudacityApp.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/AudacityApp.cpp,v retrieving revision 1.255 retrieving revision 1.256 diff -u -d -r1.255 -r1.256 --- AudacityApp.cpp 20 Jan 2010 01:58:32 -0000 1.255 +++ AudacityApp.cpp 21 Jan 2010 18:41:15 -0000 1.256 @@ -1194,7 +1194,10 @@ // Create new window for project project = CreateNewAudacityProject(); } - project->OpenFile(argv[option]); + // Always open files with an absolute path + wxFileName fn(argv[option]); + fn.MakeAbsolute(); + project->OpenFile(fn.GetFullPath()); project = NULL; // don't reuse this project for other file } ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs