1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

optional formal changes

This commit is contained in:
ehriche
2015-05-06 00:56:59 +02:00
parent fe13c728fd
commit 897a1aade5
15 changed files with 30 additions and 26 deletions

View File

@@ -65,7 +65,7 @@ static String _escape_string(const String& p_str) {
ret=ret.replace(">","<");
ret=ret.replace("'","'");
ret=ret.replace("\"",""");
for (int i=1;i<32;i++) {
for (char i=1;i<32;i++) {
char chr[2]={i,0};
ret=ret.replace(chr,"&#"+String::num(i)+";");