From d81bd965b6d9d47fd4f93a6e7fa0a12a875ba1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 18 Dec 2017 20:59:32 +0100 Subject: Fix bug in previous commit --- editor/export_template_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/export_template_manager.cpp b/editor/export_template_manager.cpp index 5a0490701b..a72769b222 100644 --- a/editor/export_template_manager.cpp +++ b/editor/export_template_manager.cpp @@ -273,7 +273,7 @@ void ExportTemplateManager::_install_from_file(const String &p_file, bool p_use_ char fname[16384]; unzGetCurrentFileInfo(pkg, &info, fname, 16384, NULL, 0, NULL, 0); - String file = fname.get_file(); + String file = String(fname).get_file(); Vector data; data.resize(info.uncompressed_size); -- cgit v1.2.3