aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorFilippos Karapetis2015-01-07 11:08:39 +0200
committerFilippos Karapetis2015-01-07 11:42:26 +0200
commitfb135b38ed25605d7b7bece9180784376e8408cc (patch)
treefe6cf59ebcb1600b23560ec96e610e03c7af874e /engines/zvision
parentd70503cc9842059302c73c7861ada557e25a52b5 (diff)
downloadscummvm-rg350-fb135b38ed25605d7b7bece9180784376e8408cc.tar.gz
scummvm-rg350-fb135b38ed25605d7b7bece9180784376e8408cc.tar.bz2
scummvm-rg350-fb135b38ed25605d7b7bece9180784376e8408cc.zip
ZVISION: Cleanup
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/text/string_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/text/string_manager.cpp b/engines/zvision/text/string_manager.cpp
index 6b870d0b8d..c62e18f4b0 100644
--- a/engines/zvision/text/string_manager.cpp
+++ b/engines/zvision/text/string_manager.cpp
@@ -51,9 +51,8 @@ void StringManager::initialize(ZVisionGameId gameId) {
void StringManager::loadStrFile(const Common::String &fileName) {
Common::File file;
- if (!_engine->getSearchManager()->openFile(file, fileName)) {
+ if (!_engine->getSearchManager()->openFile(file, fileName))
error("%s does not exist. String parsing failed", fileName.c_str());
- }
uint lineNumber = 0;
while (!file.eos()) {