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:
@@ -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
|
||||
|
Reference in New Issue
Block a user