slackbuilds_ponce/libraries/CEGUI/CEGUI-tinyxml.patch
Phillip Warner d5ecd5c9c1 libraries/CEGUI: Fixed build with tinyxml
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-12-05 20:02:04 -06:00

15 lines
719 B
Diff

--- CEGUITinyXMLParser.cpp.orig 2009-10-16 11:56:28.000000000 +0100
+++ CEGUITinyXMLParser.cpp 2009-10-16 11:56:35.000000000 +0100
@@ -131,10 +131,10 @@
{
switch(childNode->Type())
{
- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::ELEMENT:
+ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_ELEMENT:
processElement(childNode->ToElement());
break;
- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TEXT:
+ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_TEXT:
if (childNode->ToText()->Value() != '\0')
d_handler->text((utf8*)childNode->ToText()->Value());
break;