summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-07-08 11:01:19 +0200
committerGitHub <noreply@github.com>2017-07-08 11:01:19 +0200
commit0023e8d33a59cc08ced5df8978f2cdc33dafaaef (patch)
tree28c164cb69e06327ff76e4bc73dad9f78d9821d3 /platform
parentcd83c6ceaee3ad3cf308c12500ce3bcfe2bbd6ee (diff)
parente735963182e1c5671db54c6753e12b446681cbb2 (diff)
Merge pull request #9512 from BastiaanOlij/osx_export_fix_typo
Fix typo in plist export for OSX 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];
}
}