]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 748638 ] wxDos2UnixFilename for unicode
authorJulian Smart <julian@anthemion.co.uk>
Sat, 7 Jun 2003 13:55:43 +0000 (13:55 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 7 Jun 2003 13:55:43 +0000 (13:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index de78ad948a3e52ecd6ae72037363d342b1562c46..4ff10b83b023ad9c9bc82898ba1775d403c36b9a 100644 (file)
@@ -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