diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/xmlparser.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp index 3452db9e00..d5c8535932 100644 --- a/common/xmlparser.cpp +++ b/common/xmlparser.cpp @@ -143,10 +143,7 @@ bool XMLParser::parse() { _pos = 0; _activeKey.clear(); - while (_text[_pos]) { - if (_state == kParserError) - break; - + while (_text[_pos] && _state != kParserError) { if (skipSpaces()) continue; |
