summaryrefslogtreecommitdiffstats
path: root/core/io
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-10-21 09:50:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-10-21 09:50:44 -0300
commitb59c86f6f953ce6957bccbcc1ec6f3ce4c55572d (patch)
tree39a74205feb03436beacf8c4dcf9d4fd70f2e344 /core/io
parentf6a790d58c596773466437140f6d7e2a6a29e5e7 (diff)
downloadredot-engine-b59c86f6f953ce6957bccbcc1ec6f3ce4c55572d.tar.gz
-Ability to debug video memory usage
-Small fix to xml saver (swapping > and <)
Diffstat (limited to 'core/io')
-rw-r--r--core/io/resource_format_xml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index 9019b4e3c0..66ae014dbc 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -2056,8 +2056,8 @@ Error ResourceFormatLoaderXML::rename_dependencies(const String &p_path,const Ma
void ResourceFormatSaverXMLInstance::escape(String& p_str) {
p_str=p_str.replace("&","&amp;");
- p_str=p_str.replace("<","&gt;");
- p_str=p_str.replace(">","&lt;");
+ p_str=p_str.replace("<","&lt;");
+ p_str=p_str.replace(">","&gt;");
p_str=p_str.replace("'","&apos;");
p_str=p_str.replace("\"","&quot;");
for (char i=1;i<32;i++) {