diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index bee2fdb1d8..f1ff9f8e18 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1039,13 +1039,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