Applied patch [ 748638 ] wxDos2UnixFilename for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1074,13 +1074,13 @@ void wxUnixFilename2FSSpec( const char *path , FSSpec *spec )
|
|||||||
#endif // __WXMAC__
|
#endif // __WXMAC__
|
||||||
|
|
||||||
void
|
void
|
||||||
wxDos2UnixFilename (char *s)
|
wxDos2UnixFilename (wxChar *s)
|
||||||
{
|
{
|
||||||
if (s)
|
if (s)
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
if (*s == '\\')
|
if (*s == _T('\\'))
|
||||||
*s = '/';
|
*s = _T('/');
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
else
|
else
|
||||||
*s = wxTolower (*s); // Case INDEPENDENT
|
*s = wxTolower (*s); // Case INDEPENDENT
|
||||||
|
Reference in New Issue
Block a user