diff options
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); |