diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libui_sdl/Platform.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp index 8942927..8b83a01 100644 --- a/src/libui_sdl/Platform.cpp +++ b/src/libui_sdl/Platform.cpp @@ -186,6 +186,9 @@ FILE* OpenDataFile(const char* path) } free(fullpath); } + + FILE* f = fopen(path, "rb"); + if (f) return f; return NULL; } |