Skip to content

Instantly share code, notes, and snippets.

@egore
Created September 27, 2020 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egore/785468b8896852be567ab1f56e464a9a to your computer and use it in GitHub Desktop.
Save egore/785468b8896852be567ab1f56e464a9a to your computer and use it in GitHub Desktop.
--- 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