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:
@@ -1191,7 +1191,7 @@ wxString wxFileName::GetTempDir()
|
|||||||
wxLogLastError(wxT("GetTempPath"));
|
wxLogLastError(wxT("GetTempPath"));
|
||||||
}
|
}
|
||||||
#elif defined(__WXMAC__) && wxOSX_USE_CARBON
|
#elif defined(__WXMAC__) && wxOSX_USE_CARBON
|
||||||
dir = wxMacFindFolder(short(kOnSystemDisk), kTemporaryFolderType, kCreateFolder);
|
dir = wxMacFindFolderNoSeparator(short(kOnSystemDisk), kTemporaryFolderType, kCreateFolder);
|
||||||
#endif // systems with native way
|
#endif // systems with native way
|
||||||
}
|
}
|
||||||
else // we got directory from an environment variable
|
else // we got directory from an environment variable
|
||||||
|
Reference in New Issue
Block a user