diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-03-30 18:01:54 +0100 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-03-30 18:01:54 +0100 |
commit | 1038a075eea294302b2260b853e9673b3edac652 (patch) | |
tree | a5798fc09d860f9adc7c2a691b46bdf3f593a045 /src/libui_sdl/Platform.cpp | |
parent | 2a2e6a0c763c452f62140c2bde1f23609b9be87a (diff) |
borp
Diffstat (limited to 'src/libui_sdl/Platform.cpp')
-rw-r--r-- | src/libui_sdl/Platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp index 7eba035..e138109 100644 --- a/src/libui_sdl/Platform.cpp +++ b/src/libui_sdl/Platform.cpp @@ -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); |