aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-16 20:20:31 +0000
committerJohannes Schickel2008-11-16 20:20:31 +0000
commit2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea (patch)
tree5acce47983e5ef5210696de8731999a016b160dd /engines/lure
parente1fdb1f882c7937d34e99dbfeeb3154846eee565 (diff)
downloadscummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.tar.gz
scummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.tar.bz2
scummvm-rg350-2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea.zip
Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
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);
}
}