1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix extraneous NULL character on HTML export

Fix #2801

(cherry picked from commit 604ddd691c)
This commit is contained in:
George Marques
2016-10-20 21:11:13 -02:00
committed by Rémi Verschelde
parent 52bf8bd168
commit 7a17d72e84

View File

@@ -195,8 +195,8 @@ void EditorExportPlatformJavaScript::_fix_html(Vector<uint8_t>& p_html, const St
}
CharString cs = strnew.utf8();
p_html.resize(cs.size());
for(int i=9;i<cs.size();i++) {
p_html.resize(cs.length());
for(int i=9;i<cs.length();i++) {
p_html[i]=cs[i];
}
}