summaryrefslogtreecommitdiff
path: root/src/modules/xml/xmlApi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/xml/xmlApi.cpp')
-rw-r--r--src/modules/xml/xmlApi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/xml/xmlApi.cpp b/src/modules/xml/xmlApi.cpp
index 08b050218a..1c8d522ce2 100644
--- a/src/modules/xml/xmlApi.cpp
+++ b/src/modules/xml/xmlApi.cpp
@@ -257,7 +257,7 @@ static int xmlapiGetElement(HXML _n, XML_ELEMENT_POS pos, XML_ELEMENT_TYPE *type
if (closeTag)
*closeTag = NULL;
- if ( !type || pos >= XMLNode(_n).nElement())
+ if (!type || pos >= XMLNode(_n).nElement())
return false;
XMLNodeContents c(XMLNode(_n).enumContents((XMLElementPosition)pos));
switch (c.etype) {