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
This commit is contained in:
arpi 2002-03-23 19:29:48 +00:00
parent e0dae73677
commit 0019b9d95b
1 changed files with 1 additions and 1 deletions

View File

@ -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;