summaryrefslogtreecommitdiff
path: root/zenXml/zenxml
diff options
context:
space:
mode:
Diffstat (limited to 'zenXml/zenxml')
-rw-r--r--zenXml/zenxml/xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenXml/zenxml/xml.h b/zenXml/zenxml/xml.h
index 27701248..15d635bd 100644
--- a/zenXml/zenxml/xml.h
+++ b/zenXml/zenxml/xml.h
@@ -90,7 +90,7 @@ void saveXml(const XmlDoc& doc, const Zstring& filePath) //throw FileError
try //only update XML file if there are changes
{
- if (getFileDetails(filePath).fileSize == stream.size()) //throw FileError
+ if (getFileSize(filePath) == stream.size()) //throw FileError
if (loadBinContainer<std::string>(filePath, nullptr /*notifyUnbufferedIO*/) == stream) //throw FileError
return;
}
bgstack15