fix for DJGPP returning unix/like/paths instead of what\you'd\expect\under\dos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-12-30 00:05:49 +00:00
parent fd4bc54da0
commit 4b00a53837

View File

@@ -1445,6 +1445,13 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
delete [] cbuf;
}
#endif
#ifdef __DJGPP__
// VS: DJGPP is Unicodish and uses / instead of \ as path deliminer. We don't like that.
for (wxChar *ch = buf; *ch; ch++)
if (*ch == wxT('/')) *ch = wxT('\\');
#endif
return buf;
}