From a741b4e4bd00d4d311198fe8f058e1dcfe160ca9 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 7 Jun 2003 13:55:43 +0000 Subject: [PATCH] Applied patch [ 748638 ] wxDos2UnixFilename for unicode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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