aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp
index 9b073fc1bc..85bf43608b 100644
--- a/engines/lure/scripts.cpp
+++ b/engines/lure/scripts.cpp
@@ -1094,7 +1094,7 @@ uint16 Script::execute(uint16 startOffset) {
sprintf(debugInfo + strlen(debugInfo), " (%d)", stack[stack.size()-1]);
strcat(debugInfo, ")");
- debugC(ERROR_DETAILED, kLureDebugScripts, debugInfo);
+ debugC(ERROR_DETAILED, kLureDebugScripts, "%s", debugInfo);
}
param1 = 0; param2 = 0; param3 = 0;
@@ -1164,7 +1164,7 @@ uint16 Script::execute(uint16 startOffset) {
break;
}
- debugC(ERROR_DETAILED, kLureDebugScripts, debugInfo);
+ debugC(ERROR_DETAILED, kLureDebugScripts, "%s", debugInfo);
}
}