diff options
author | Willem Jan Palenstijn | 2013-04-16 19:12:32 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-16 19:13:30 +0200 |
commit | b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e (patch) | |
tree | 878a5a259a86b0ed534ed2233335688b6ca210e9 /common | |
parent | 54d4707edc51507ed9956db2c30e32e24fd13597 (diff) | |
download | scummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.tar.gz scummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.tar.bz2 scummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.zip |
COMMON: Don't use parserError for non-parser errors
Diffstat (limited to 'common')
-rw-r--r-- | common/xmlparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp index f0b7f1cc81..c80d5e15be 100644 --- a/common/xmlparser.cpp +++ b/common/xmlparser.cpp @@ -298,7 +298,7 @@ bool XMLParser::closeKey() { bool XMLParser::parse() { if (_stream == 0) - return parserError("XML stream not ready for reading."); + return false; // Make sure we are at the start of the stream. _stream->seek(0, SEEK_SET); |