summaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/units.cpp')
-rw-r--r--src/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/units.cpp b/src/units.cpp
index ad4dd1cbb..a182c67db 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -111,7 +111,7 @@ void Units::loadUnits()
void Units::loadXmlFile(const std::string &fileName)
{
- XML::Document doc(fileName);
+ XML::Document doc(fileName, true);
const XmlNodePtrConst root = doc.rootNode();
if (!root || !xmlNameEqual(root, "units"))