blob: c7e0726008d070ac11a76d41be356f676fb41a6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ru CEGUI-0.6.2.orig/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp CEGUI-0.6.2/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp
--- CEGUI-0.6.2.orig/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2008-11-27 13:39:04.000000000 +0000
+++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2018-11-13 07:48:53.228671317 +0000
@@ -135,7 +135,7 @@
processElement(childNode->ToElement());
break;
case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TEXT:
- if (childNode->ToText()->Value() != '\0')
+ if (childNode->ToText()->Value() != NULL)
d_handler->text((utf8*)childNode->ToText()->Value());
break;
|