diff options
author | BastiaanOlij <mux213@gmail.com> | 2017-07-06 00:14:05 +1000 |
---|---|---|
committer | BastiaanOlij <mux213@gmail.com> | 2017-07-06 00:14:05 +1000 |
commit | e735963182e1c5671db54c6753e12b446681cbb2 (patch) | |
tree | 9e52d6e8edf78f288ae06c058ef90d132de91b52 /platform/osx | |
parent | 6f63a01302355077af2459c96a17e299c32b2960 (diff) |
Fix typo in plist export
Diffstat (limited to 'platform/osx')
-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]; } } |