]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/utils.cpp
warning fix
[wxWidgets.git] / src / mac / utils.cpp
index b3137eaf09bc728a6524077a1feb72a9b9749a45..9389888343bae3610ae8864ccdacd6ea0b0b672b 100644 (file)
@@ -329,7 +329,7 @@ wxString wxMacFindFolder( short                                     vol,
                FSSpec file ;
                if ( FSMakeFSSpec( vRefNum , dirID , "\p" , &file ) == noErr )
                {
                FSSpec file ;
                if ( FSMakeFSSpec( vRefNum , dirID , "\p" , &file ) == noErr )
                {
-                       strDir = wxMacFSSpec2UnixFilename( &file ) + "/" ;
+                       strDir = wxMacFSSpec2MacFilename( &file ) + ":" ;
                }
        }
        return strDir ;
                }
        }
        return strDir ;