summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-10 18:58:54 +0300
commit793a119a7a36f9680dad108e75075c8c4bd4a0d0 (patch)
treef995b989135dda75bcd45d8214571b4b4ed4e871 /src/gui/theme.cpp
parentbad730dd0de24b2b17b91922c0c7f2b31b7b4d9b (diff)
downloadmanaverse-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.gz
manaverse-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.bz2
manaverse-793a119a7a36f9680dad108e75075c8c4bd4a0d0.tar.xz
manaverse-793a119a7a36f9680dad108e75075c8c4bd4a0d0.zip
Replace all xmlNodePtr to XmlNodePtr.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index ecc491191..2d3b0beea 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -315,7 +315,7 @@ Skin *Theme::readSkin(const std::string &filename)
// filename = resman->mapPathToSkin(filename0);
XML::Document doc(resolveThemePath(filename));
- xmlNodePtr rootNode = doc.rootNode();
+ XmlNodePtr rootNode = doc.rootNode();
if (!rootNode || !xmlStrEqual(rootNode->name, BAD_CAST "skinset"))
return nullptr;
@@ -818,7 +818,7 @@ void Theme::loadColors(std::string file)
file += "/colors.xml";
XML::Document doc(resolveThemePath(file));
- xmlNodePtr root = doc.rootNode();
+ XmlNodePtr root = doc.rootNode();
if (!root || !xmlStrEqual(root->name, BAD_CAST "colors"))
{