From 2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 16 Nov 2008 20:20:31 +0000 Subject: Fixed various g++ warnings ("format not a string literal and no format arguments"). svn-id: r35096 --- engines/groovie/script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/groovie') 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) : -- cgit v1.2.3