aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-01 13:33:14 +0100
committerEugene Sandulenko2019-12-01 14:25:01 +0100
commitc489e87bf3c47980cb18558c2d7862659ae47169 (patch)
tree8c04ffd1d347e597b7bcd419159d329527d24796
parent0f1128b943ae0fb6667b238871e38dc639cdb94e (diff)
downloadscummvm-rg350-c489e87bf3c47980cb18558c2d7862659ae47169.tar.gz
scummvm-rg350-c489e87bf3c47980cb18558c2d7862659ae47169.tar.bz2
scummvm-rg350-c489e87bf3c47980cb18558c2d7862659ae47169.zip
DIRECTOR: LINGO: Improve debug output
-rw-r--r--engines/director/lingo/lingo-codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp
index 16874f66c8..2f31f5c1d9 100644
--- a/engines/director/lingo/lingo-codegen.cpp
+++ b/engines/director/lingo/lingo-codegen.cpp
@@ -216,7 +216,7 @@ Symbol *Lingo::define(Common::String &name, int start, int nargs, Common::String
if (prefix)
name = *prefix + "-" + name;
- debugC(1, kDebugLingoCompile, "define(\"%s\", %d, %d, %d)", name.c_str(), start, _currentScript->size() - 1, nargs);
+ debugC(1, kDebugLingoCompile, "define(\"%s\"(len: %d), %d, %d, \"%s\", %d)", name.c_str(), _currentScript->size() - 1, start, nargs, (prefix ? prefix->c_str() : ""), end);
Symbol *sym = getHandler(name);
if (sym == NULL) { // Create variable if it was not defined