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

Modified Files:
        FileNames.cpp 
Log Message:
wxFileName::DirExists() changed in wxWidgets 2.8.  It no longer checks using 
the full path, only the directory part.

Index: FileNames.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/FileNames.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- FileNames.cpp       1 Oct 2006 07:23:49 -0000       1.9
+++ FileNames.cpp       19 Nov 2006 02:20:14 -0000      1.10
@@ -72,8 +72,8 @@
       // If there is a directory "Portable Settings" relative to the
       // executable's EXE file, the prefs are stored in there, otherwise
       // the prefs are stored in the user data dir provided by the OS.
-      wxFileName exePath(PlatformCompatibility::GetExecutablePath());
-      wxFileName portablePrefsPath(exePath.GetPath(), wxT("Portable 
Settings"));
+      wxFileName portablePrefsPath(PlatformCompatibility::GetExecutablePath());
+      portablePrefsPath.AppendDir(wxT("Portable Settings"));
       
       if (portablePrefsPath.DirExists())
       {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to