aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie
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/groovie
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/groovie')
-rw-r--r--engines/groovie/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 8564a76842..154f4e5d9f 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -53,9 +53,9 @@ void debugScript(int level, bool nl, const char *s, ...) {
va_end(va);
if (nl)
- debug(level, buf);
+ debug(level, "%s", buf);
else
- debugN(level, buf);
+ debugN(level, "%s", buf);
}
Script::Script(GroovieEngine *vm) :