Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- cegui-0-8-7/cegui/src/XMLParserModules/TinyXML/XMLParser.cpp.orig 2016-04-28 21:53:04.000000000 +0200
+++ cegui-0-8-7/cegui/src/XMLParserModules/TinyXML/XMLParser.cpp 2020-09-27 01:14:23.246753692 +0200
@@ -130,7 +130,7 @@
processElement(childNode->ToElement());
break;
case TiXmlNode::CEGUI_TINYXML_TEXT:
- if (childNode->ToText()->Value() != '\0')
+ if (childNode->ToText()->Value() != nullptr)
d_handler->text((encoded_char*)childNode->ToText()->Value());
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.