From 704a7f5767d4682ed5e1f9d7591922aafc7a3a5c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:06:42 +0200 Subject: 3.6 --- BUILD/Resources.dat | Bin 292292 -> 292409 bytes shared/xmlBase.cpp | 2 ++ 2 files changed, 2 insertions(+) diff --git a/BUILD/Resources.dat b/BUILD/Resources.dat index c91fcd23..d53d59e7 100644 Binary files a/BUILD/Resources.dat and b/BUILD/Resources.dat differ 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