From 0019b9d95bfe4aa710511e0dbe60e6a7a3a19e92 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 23 Mar 2002 19:29:48 +0000 Subject: [PATCH] 10l - va_start needs teh pointer to stack - not the translated message git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5287 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp_msg.c b/mp_msg.c index 7ba3116a6b..fb07df097c 100644 --- a/mp_msg.c +++ b/mp_msg.c @@ -43,7 +43,7 @@ void mp_msg_c( int x, const char *format, ... ){ char tmp[2048]; if((x&255)>mp_msg_levels[x>>8]) return; // do not display - va_start(va, mp_gettext(format)); + va_start(va, format); vsnprintf(tmp, 2048, mp_gettext(format), va); tmp[2047] = 0;