summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-07-06 00:14:05 +1000
committerBastiaanOlij <mux213@gmail.com>2017-07-06 00:14:05 +1000
commite735963182e1c5671db54c6753e12b446681cbb2 (patch)
tree9e52d6e8edf78f288ae06c058ef90d132de91b52 /platform
parent6f63a01302355077af2459c96a17e299c32b2960 (diff)
Fix typo in plist export
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/export/export.cpp4
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];
}
}