diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-21 13:59:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-21 13:59:57 +0000 |
commit | c9d9e552df030a92f95b1be42ee92e5e2c19dcfe (patch) | |
tree | b492d2210df3a6c0f56ced991294680fb4658805 /src/modules/xml/xmlParser.cpp | |
parent | 71b72fcfba5cbfc960ea92f670036982f18aea69 (diff) |
XML parser not to remove trailing spaces when decoding messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@12468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/xml/xmlParser.cpp')
-rw-r--r-- | src/modules/xml/xmlParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/xml/xmlParser.cpp b/src/modules/xml/xmlParser.cpp index 069cec6678..1f5da4006b 100644 --- a/src/modules/xml/xmlParser.cpp +++ b/src/modules/xml/xmlParser.cpp @@ -63,7 +63,7 @@ XMLCSTR XMLNode::getVersion() { return _CXML("v2.43"); } void freeXMLString(XMLSTR t) {if(t)free(t);} static XMLNode::XMLCharEncoding characterEncoding = XMLNode::char_encoding_UTF8; -static char guessWideCharChars = 1, dropWhiteSpace = 1, removeCommentsInMiddleOfText = 1; +static char guessWideCharChars = 1, dropWhiteSpace = 0, removeCommentsInMiddleOfText = 1; inline int mmin(const int t1, const int t2) { return t1 < t2 ? t1 : t2; } |