]> git.saurik.com Git - wxWidgets.git/commitdiff
no trailing slash for OSX_CARBON
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 20 Jun 2010 14:46:44 +0000 (14:46 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 20 Jun 2010 14:46:44 +0000 (14:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index a51ed78ea2531c7b76942802f111ffcf5a33f387..8a713ba7a4562d85c8b9918b94659673ed27deaf 100644 (file)
@@ -1191,7 +1191,7 @@ wxString wxFileName::GetTempDir()
             wxLogLastError(wxT("GetTempPath"));
         }
 #elif defined(__WXMAC__) && wxOSX_USE_CARBON
-        dir = wxMacFindFolder(short(kOnSystemDisk), kTemporaryFolderType, kCreateFolder);
+        dir = wxMacFindFolderNoSeparator(short(kOnSystemDisk), kTemporaryFolderType, kCreateFolder);
 #endif // systems with native way
     }
     else // we got directory from an environment variable