no trailing slash for OSX_CARBON

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-06-20 14:46:44 +00:00
parent 02f35bffeb
commit 088a36424c

View 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