From e735963182e1c5671db54c6753e12b446681cbb2 Mon Sep 17 00:00:00 2001
From: BastiaanOlij <mux213@gmail.com>
Date: Thu, 6 Jul 2017 00:14:05 +1000
Subject: [PATCH] Fix typo in plist export

---
 platform/osx/export/export.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp
index 9d3493cb494..c81fb00b368 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];
 	}
 }