aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/adrift/scutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/adrift/scutils.cpp')
-rw-r--r--engines/glk/adrift/scutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/adrift/scutils.cpp b/engines/glk/adrift/scutils.cpp
index 0c8165d581..d1dc5141e9 100644
--- a/engines/glk/adrift/scutils.cpp
+++ b/engines/glk/adrift/scutils.cpp
@@ -65,7 +65,7 @@ void sc_error(const sc_char *format, ...) {
assert(format);
va_start(ap, format);
- Common::String s = Common::String::format(format, ap);
+ Common::String s = Common::String::vformat(format, ap);
va_end(ap);
warning("%s", s.c_str());
}