aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-04-16 19:12:32 +0200
committerWillem Jan Palenstijn2013-04-16 19:13:30 +0200
commitb8df8203c5d554dca26f1c50b1c3eceb71b3ba4e (patch)
tree878a5a259a86b0ed534ed2233335688b6ca210e9
parent54d4707edc51507ed9956db2c30e32e24fd13597 (diff)
downloadscummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.tar.gz
scummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.tar.bz2
scummvm-rg350-b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e.zip
COMMON: Don't use parserError for non-parser errors
-rw-r--r--common/xmlparser.cpp2
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);