summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/xml/xmlApi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/xml/xmlApi.cpp b/src/modules/xml/xmlApi.cpp
index 113f2e9ecd..b010d182d9 100644
--- a/src/modules/xml/xmlApi.cpp
+++ b/src/modules/xml/xmlApi.cpp
@@ -168,9 +168,9 @@ static LPTSTR xmlapiToString(HXML _n, int* datalen)
return XMLNode(_n).createXMLString(0, datalen);
}
-static XMLError xmlapiToFile(HXML _n, LPCTSTR filename)
+static XMLError xmlapiToFile(HXML _n, LPCTSTR filename, int withformatting)
{
- return XMLNode(_n).writeToFile(filename, NULL, NULL);
+ return XMLNode(_n).writeToFile(filename, NULL, withformatting);
}
static void xmlapiAddAttr(HXML _n, LPCTSTR attrName, LPCTSTR attrValue)