summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-18 20:59:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-12-18 20:59:32 +0100
commitd81bd965b6d9d47fd4f93a6e7fa0a12a875ba1e8 (patch)
treed0a0c20aae15c4a874dfd162559e144e1d76ec48 /editor
parent2a30f0460d397cbca3e8b07bf8a88ed6548e6166 (diff)
Fix bug in previous commit
Diffstat (limited to 'editor')
-rw-r--r--editor/export_template_manager.cpp2
1 files changed, 1 insertions, 1 deletions
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<uint8_t> data;
data.resize(info.uncompressed_size);