mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fixed: mode argument was ignored by utf8_fopen() on POSIX platforms
This commit is contained in:
parent
f13843c8ca
commit
7780f774f9
1 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ inline std::wstring wideString(const char *filename)
|
|||
inline FILE* utf8_fopen(const char* filename, const char *mode)
|
||||
{
|
||||
#ifndef _WIN32
|
||||
return fopen(filename, "wb");
|
||||
return fopen(filename, mode);
|
||||
#else
|
||||
auto fn = wideString(filename);
|
||||
auto mo = wideString(mode);
|
||||
|
|
Loading…
Reference in a new issue