Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 21f5ff893619a1755b3e5fef4eb6f280 > files > 3

audacity-1.3.5-3.2mdv2009.0.src.rpm

diff -p -up audacity-src-1.3.5-beta/src/AudacityApp.cpp~ audacity-src-1.3.5-beta/src/AudacityApp.cpp
--- audacity-src-1.3.5-beta/src/AudacityApp.cpp~	2008-05-09 07:46:11.000000000 +0200
+++ audacity-src-1.3.5-beta/src/AudacityApp.cpp	2008-05-09 07:48:37.000000000 +0200
@@ -610,7 +610,8 @@ bool AudacityApp::OnInit()
       * The user's .audacity-files directory in their home directory
       * The "share" and "share/doc" directories in their install path */
    #ifdef __WXGTK__
-   defaultTempDir.Printf(wxT("/tmp/audacity-%s"), wxGetUserId().c_str());
+   defaultTempDir.Printf(wxT("/%s/audacity%d.%d-%s"), 
+                          home.c_str(), AUDACITY_VERSION, AUDACITY_RELEASE, wxGetUserId().c_str());
    
    wxString pathVar = wxGetenv(wxT("AUDACITY_PATH"));
    if (pathVar != wxT(""))