]> git.pld-linux.org Git - packages/audacity.git/commitdiff
- fixed "/usr/bin/Portable Settings/" issue (yes, it is wx28 related)
authorSzymon Siwek <sls@pld-linux.org>
Tue, 2 Jan 2007 03:52:34 +0000 (03:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    audacity-wx28.patch -> 1.2

audacity-wx28.patch

index b198e60242633aec2bcf4b19e75de855a074bd2b..37dbcbd998e423bf739e598cf54120f7e3a7aede 100644 (file)
        if (def && def->IsEnabled()) {
           wxCommandEvent cevent(wxEVT_COMMAND_BUTTON_CLICKED,
                                 def->GetId());
+--- audacity-src-1.3.2-beta/src/FileNames.cpp  2006/10/01 07:23:49     1.9
++++ audacity-src-1.3.2-beta/src/FileNames.cpp  2006/11/19 02:20:14     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())
+       {
This page took 0.18803 seconds and 4 git commands to generate.