mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- fixed: Windows must call the wide version of _mkdir for Unicode support.
This commit is contained in:
parent
7d725bfe8a
commit
1c2ea506f2
1 changed files with 5 additions and 0 deletions
|
@ -441,7 +441,12 @@ void DoCreatePath(const char *fn)
|
||||||
if ('\0' != *path)
|
if ('\0' != *path)
|
||||||
{
|
{
|
||||||
DoCreatePath(path);
|
DoCreatePath(path);
|
||||||
|
#ifdef _WIN32
|
||||||
|
auto wpath = WideString(path);
|
||||||
|
_wmkdir(wpath.c_str());
|
||||||
|
#else
|
||||||
_mkdir(path);
|
_mkdir(path);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue