From f7ec14e3aff727d114129227da9b2417bfbce2aa Mon Sep 17 00:00:00 2001 From: Szymon Siwek Date: Tue, 2 Jan 2007 03:52:34 +0000 Subject: [PATCH] - fixed "/usr/bin/Portable Settings/" issue (yes, it is wx28 related) Changed files: audacity-wx28.patch -> 1.2 --- audacity-wx28.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/audacity-wx28.patch b/audacity-wx28.patch index b198e60..37dbcbd 100644 --- a/audacity-wx28.patch +++ b/audacity-wx28.patch @@ -287,3 +287,16 @@ 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()) + { -- 2.44.0