X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a67a93b17c37c018f60e662645ee2a44ba4e58e..d9f9aa2d8fcb956444588b2c19ffe8d4a3f5d2bb:/src/mac/carbon/utils.cpp diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 28c069a63a..9389888343 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -157,7 +157,8 @@ void wxDebugMsg(const char *fmt ...) vsprintf(buffer,fmt,ap) ; strcat(buffer,";g") ; - debugstr(buffer) ; + c2pstr(buffer) ; + DebugStr((unsigned char*) buffer) ; va_end(ap); } @@ -328,7 +329,7 @@ wxString wxMacFindFolder( short vol, FSSpec file ; if ( FSMakeFSSpec( vRefNum , dirID , "\p" , &file ) == noErr ) { - strDir = wxMacFSSpec2UnixFilename( &file ) + "/" ; + strDir = wxMacFSSpec2MacFilename( &file ) + ":" ; } } return strDir ;