diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:06:42 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:06:42 +0200 |
commit | 704a7f5767d4682ed5e1f9d7591922aafc7a3a5c (patch) | |
tree | a5bc0e4e03630fb54077c5e3cabb12a98b9c2fd9 /shared/xmlBase.cpp | |
parent | 3.5 (diff) | |
download | FreeFileSync-704a7f5767d4682ed5e1f9d7591922aafc7a3a5c.tar.gz FreeFileSync-704a7f5767d4682ed5e1f9d7591922aafc7a3a5c.tar.bz2 FreeFileSync-704a7f5767d4682ed5e1f9d7591922aafc7a3a5c.zip |
3.6
Diffstat (limited to 'shared/xmlBase.cpp')
-rw-r--r-- | shared/xmlBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/xmlBase.cpp b/shared/xmlBase.cpp index 1a41f02f..3288fa3e 100644 --- a/shared/xmlBase.cpp +++ b/shared/xmlBase.cpp @@ -135,6 +135,8 @@ void xmlAccess::loadXmlDocument(const wxString& filename, const xmlAccess::XmlTy if (!inputStream.empty()) { + inputStream.push_back(0); + //convert (0xD, 0xA) and (0xD) to (0xA): just like in TiXmlDocument::LoadFile(); not sure if actually needed ::normalize(inputStream); |