borp
This commit is contained in:
parent
2a2e6a0c76
commit
1038a075ee
|
@ -123,7 +123,7 @@ FILE* OpenFile(const char* path, const char* mode, bool mustexist)
|
|||
if (mustexist)
|
||||
{
|
||||
ret = fopen(path, "rb");
|
||||
if (ret) ret = freopen(path, mode);
|
||||
if (ret) ret = freopen(path, mode, ret);
|
||||
}
|
||||
else
|
||||
ret = fopen(path, mode);
|
||||
|
|
Loading…
Reference in New Issue