diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-11 16:59:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 16:59:31 +0200 |
commit | 2fd73bd32e0b0d153945bc28576b154af3342627 (patch) | |
tree | 942928f4418f46c7e1f76330089c2f1ab5fc3421 /platform/javascript/export | |
parent | d68c355145d5c07070fc999eedf8c973d8c70fbe (diff) | |
parent | d36c5514d3893578f1c8cce4d0a2256abfcdd1ed (diff) |
Merge pull request #60943 from bruvzg/fix_zipio
Diffstat (limited to 'platform/javascript/export')
-rw-r--r-- | platform/javascript/export/export_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.cpp b/platform/javascript/export/export_plugin.cpp index 66d93d7c49..9576256d03 100644 --- a/platform/javascript/export/export_plugin.cpp +++ b/platform/javascript/export/export_plugin.cpp @@ -33,7 +33,8 @@ #include "core/config/project_settings.h" Error EditorExportPlatformJavaScript::_extract_template(const String &p_template, const String &p_dir, const String &p_name, bool pwa) { - zlib_filefunc_def io = zipio_create_io(); + Ref<FileAccess> io_fa; + zlib_filefunc_def io = zipio_create_io(&io_fa); unzFile pkg = unzOpen2(p_template.utf8().get_data(), &io); if (!pkg) { |