summaryrefslogtreecommitdiff
path: root/src/utils/xml.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-10 21:06:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-10 21:06:33 +0300
commit5edddb1313ed0dc275e6ae70b8a1780ded3a590d (patch)
treefffa478013e8f3622c4e7f85eeb71609cb352322 /src/utils/xml.h
parenta057817a0983b3a3190f6773101f788f2c6278ba (diff)
downloadmanaverse-5edddb1313ed0dc275e6ae70b8a1780ded3a590d.tar.gz
manaverse-5edddb1313ed0dc275e6ae70b8a1780ded3a590d.tar.bz2
manaverse-5edddb1313ed0dc275e6ae70b8a1780ded3a590d.tar.xz
manaverse-5edddb1313ed0dc275e6ae70b8a1780ded3a590d.zip
Replace xmlStrEqual to xmlNameEqual.
Diffstat (limited to 'src/utils/xml.h')
-rw-r--r--src/utils/xml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/xml.h b/src/utils/xml.h
index fac90c63d..821ee2de4 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -31,6 +31,8 @@
#define XmlNodePtr xmlNodePtr
+#define xmlNameEqual(node, str) xmlStrEqual((node)->name, BAD_CAST (str))
+
/**
* XML helper functions.
*/