From 1038a075eea294302b2260b853e9673b3edac652 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sat, 30 Mar 2019 18:01:54 +0100 Subject: borp --- src/libui_sdl/Platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3