From: Julian Smart Date: Sat, 7 Jun 2003 13:55:43 +0000 (+0000) Subject: Applied patch [ 748638 ] wxDos2UnixFilename for unicode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4603b4f92fc93a9de6c968079bddbfc1983ebf5f Applied patch [ 748638 ] wxDos2UnixFilename for unicode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index de78ad948a..4ff10b83b0 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1074,13 +1074,13 @@ void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) #endif // __WXMAC__ void -wxDos2UnixFilename (char *s) +wxDos2UnixFilename (wxChar *s) { if (s) while (*s) { - if (*s == '\\') - *s = '/'; + if (*s == _T('\\')) + *s = _T('/'); #ifdef __WXMSW__ else *s = wxTolower (*s); // Case INDEPENDENT