no trailing slash for OSX_CARBON

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

View File

@ -1600,7 +1600,7 @@ wxString wxGetOSDirectory()
GetWindowsDirectory(buf, 256);
return wxString(buf);
#elif defined(__WXMAC__) && wxOSX_USE_CARBON
return wxMacFindFolder(kOnSystemDisk, 'macs', false);
return wxMacFindFolderNoSeparator(kOnSystemDisk, 'macs', false);
#else
return wxEmptyString;
#endif