From cf5fb4e4ef6923f27c2a3a575a654eabe2be654b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 7 Dec 2019 10:22:32 +0100 Subject: DIRECTOR: LINGO: Fix incorrect nesting in 'if' preprocessor --- engines/director/lingo/lingo.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines') 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")) { -- cgit v1.2.3