From 088a36424c40d28296e80969095fa8f335b4def9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 20 Jun 2010 14:46:44 +0000 Subject: [PATCH] no trailing slash for OSX_CARBON git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index a51ed78ea2..8a713ba7a4 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -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 -- 2.45.2