View | Details | Raw Unified | Return to bug 221890 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/cegui/files/patch-cegui_src_XMLParserModules_TinyXML_XMLParser.cpp (-1 / +11 lines)
Added Link Here
0
- 
1
--- cegui/src/XMLParserModules/TinyXML/XMLParser.cpp.orig	2017-09-04 09:38:57.918728000 +0100
2
+++ cegui/src/XMLParserModules/TinyXML/XMLParser.cpp	2017-09-04 09:40:24.424412000 +0100
3
@@ -130,7 +130,7 @@
4
                 processElement(childNode->ToElement());
5
                 break;
6
             case TiXmlNode::CEGUI_TINYXML_TEXT:
7
-                if (childNode->ToText()->Value() != '\0')
8
+                if (childNode->ToText()->Value() != nullptr)
9
                     d_handler->text((encoded_char*)childNode->ToText()->Value());
10
                 break;
11
 

Return to bug 221890