diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-07-08 11:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 11:01:19 +0200 |
commit | 0023e8d33a59cc08ced5df8978f2cdc33dafaaef (patch) | |
tree | 28c164cb69e06327ff76e4bc73dad9f78d9821d3 | |
parent | cd83c6ceaee3ad3cf308c12500ce3bcfe2bbd6ee (diff) | |
parent | e735963182e1c5671db54c6753e12b446681cbb2 (diff) |
Merge pull request #9512 from BastiaanOlij/osx_export_fix_typo
Fix typo in plist export for OSX export
-rw-r--r-- | platform/osx/export/export.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index 9d3493cb49..c81fb00b36 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -185,8 +185,8 @@ void EditorExportPlatformOSX::_fix_plist(const Ref<EditorExportPreset> &p_preset } CharString cs = strnew.utf8(); - plist.resize(cs.size()); - for (int i = 9; i < cs.size(); i++) { + plist.resize(cs.size() - 1); + for (int i = 0; i < cs.size() - 1; i++) { plist[i] = cs[i]; } } |