aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-07 10:22:32 +0100
committerEugene Sandulenko2019-12-07 11:09:11 +0100
commitcf5fb4e4ef6923f27c2a3a575a654eabe2be654b (patch)
tree59b7b869adce1939c570a97e91c86d11eea5c319 /engines/director
parent65a1856ab0de76c3759aad8ae83506322a76c2fb (diff)
downloadscummvm-rg350-cf5fb4e4ef6923f27c2a3a575a654eabe2be654b.tar.gz
scummvm-rg350-cf5fb4e4ef6923f27c2a3a575a654eabe2be654b.tar.bz2
scummvm-rg350-cf5fb4e4ef6923f27c2a3a575a654eabe2be654b.zip
DIRECTOR: LINGO: Fix incorrect nesting in 'if' preprocessor
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/lingo/lingo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index ac725e5079..a09f227721 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -368,7 +368,6 @@ Common::String Lingo::stripComments(const char *s) {
} else {
debugC(2, kDebugLingoParse, "++++ end if (no nlelse after single liner)");
res += " end if";
- iflevel--;
}
}
} else if (tok.equals("else")) {