From 704a7f5767d4682ed5e1f9d7591922aafc7a3a5c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:06:42 +0200 Subject: 3.6 --- shared/xmlBase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shared/xmlBase.cpp') 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); -- cgit