diff options
Diffstat (limited to 'core/io/zip_io.cpp')
-rw-r--r-- | core/io/zip_io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/zip_io.cpp b/core/io/zip_io.cpp index 68dd633e70..1979e91b8c 100644 --- a/core/io/zip_io.cpp +++ b/core/io/zip_io.cpp @@ -44,8 +44,9 @@ void *zipio_open(void *data, const char *p_fname, int mode) { f = FileAccess::open(fname, FileAccess::READ); } - if (!f) + if (!f) { return nullptr; + } return data; } |