summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-27 21:43:53 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-04-27 22:08:08 +0200
commit4b0f15a3767a2309c433aa77bdeea04c56824322 (patch)
tree780bbb3dfc3777620aabf7cc593fb28043833e69 /src
parent4b0da49b28bb64d2da293ca90fec63079c2c5849 (diff)
downloadmana-client-4b0f15a3767a2309c433aa77bdeea04c56824322.tar.gz
mana-client-4b0f15a3767a2309c433aa77bdeea04c56824322.tar.bz2
mana-client-4b0f15a3767a2309c433aa77bdeea04c56824322.tar.xz
mana-client-4b0f15a3767a2309c433aa77bdeea04c56824322.zip
Small cleanup
Diffstat (limited to 'src')
-rw-r--r--src/resources/theme.cpp2
-rw-r--r--src/utils/xml.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/resources/theme.cpp b/src/resources/theme.cpp
index e95a1fa9..96927ac8 100644
--- a/src/resources/theme.cpp
+++ b/src/resources/theme.cpp
@@ -536,7 +536,7 @@ void Theme::loadColors(std::string file)
if (file == "")
file = defaultThemePath;
- file += "/" COLORS_XML_FILE;
+ file += "/colors.xml";
XML::Document doc(file);
xmlNodePtr root = doc.rootNode();
diff --git a/src/utils/xml.h b/src/utils/xml.h
index 1e007cfd..60355aa6 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -26,10 +26,6 @@
#include <string>
-// Define commonly used xml file
-#define HAIR_XML_FILE "hair.xml"
-#define COLORS_XML_FILE "colors.xml"
-
/**
* XML helper functions.
*/