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

src/common/filefn.cpp

index 2b3314abcea996f2f9960d5083f416a2cc14a49e..21598eae9c42583cbe450f2055ec214446ab8b71 100644 (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