summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD/Resources.datbin292292 -> 292409 bytes
-rw-r--r--shared/xmlBase.cpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/BUILD/Resources.dat b/BUILD/Resources.dat
index c91fcd23..d53d59e7 100644
--- a/BUILD/Resources.dat
+++ b/BUILD/Resources.dat
Binary files 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);
bgstack15