From 354816b2ff6361a8286a547c0c130e0de170f0a7 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 17 Dec 2009 15:51:51 +0100 Subject: Fix bad varargs handling. You can't pass a va_list to a variadic function. --- crawl-ref/source/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/format.cc') diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc index 59fc8152bf..94c6b3cdfa 100644 --- a/crawl-ref/source/format.cc +++ b/crawl-ref/source/format.cc @@ -516,7 +516,7 @@ void formatted_string::cprintf(const char *s, ...) { va_list args; va_start(args, s); - cprintf(make_stringf(s, args)); + cprintf(vmake_stringf(s, args)); va_end(args); } -- cgit v1.2.3-54-g00ecf