aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_playtoons.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2009-08-17 10:05:02 +0000
committerArnaud Boutonné2009-08-17 10:05:02 +0000
commit90336c88acfec04f48c9710e9dfae55f074905eb (patch)
tree2f8070d7380885b559f043318c90e52a94681115 /engines/gob/inter_playtoons.cpp
parentb8fd79486faa728df92e0f8d95ee8d3cbe55c0d6 (diff)
downloadscummvm-rg350-90336c88acfec04f48c9710e9dfae55f074905eb.tar.gz
scummvm-rg350-90336c88acfec04f48c9710e9dfae55f074905eb.tar.bz2
scummvm-rg350-90336c88acfec04f48c9710e9dfae55f074905eb.zip
Add back parenthesis (I wasn't aware of this convention, sorry) in saveload, and mimic this code in oPlaytoons_openItk
svn-id: r43464
Diffstat (limited to 'engines/gob/inter_playtoons.cpp')
-rw-r--r--engines/gob/inter_playtoons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/inter_playtoons.cpp b/engines/gob/inter_playtoons.cpp
index ab7bf819cc..e224f29734 100644
--- a/engines/gob/inter_playtoons.cpp
+++ b/engines/gob/inter_playtoons.cpp
@@ -150,7 +150,7 @@ void Inter_Playtoons::oPlaytoons_openItk() {
strcat(fileName, ".ITK");
// Workaround for Bambou : In the script, the path is hardcoded (!!)
- if ((backSlash = strrchr(fileName, '\\')) != 0) {
+ if ((backSlash = strrchr(fileName, '\\'))) {
debugC(2, kDebugFileIO, "Opening ITK file \"%s\" instead of \"%s\"", backSlash + 1, fileName);
_vm->_dataIO->openDataFile(backSlash + 1, true);
} else