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
This commit is contained in:
Julian Smart
2003-06-07 13:55:43 +00:00
parent 2d0e6b13c2
commit a741b4e4bd

View File

@@ -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