diff options
Diffstat (limited to 'zenXml/zenxml')
-rwxr-xr-x | zenXml/zenxml/xml.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenXml/zenxml/xml.h b/zenXml/zenxml/xml.h index 15d635bd..27701248 100755 --- 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 (getFileSize(filePath) == stream.size()) //throw FileError + if (getFileDetails(filePath).fileSize == stream.size()) //throw FileError if (loadBinContainer<std::string>(filePath, nullptr /*notifyUnbufferedIO*/) == stream) //throw FileError return; } |