diff mp_msg.c @ 5286:30caf02c0eae

10l - va_start needs teh pointer to stack - not the translated message
author arpi
date Sat, 23 Mar 2002 19:29:48 +0000
parents 4afbe13150e6
children 6d7131d79ce0
line wrap: on
line diff
--- a/mp_msg.c	Sat Mar 23 19:14:13 2002 +0000
+++ b/mp_msg.c	Sat Mar 23 19:29:48 2002 +0000
@@ -43,7 +43,7 @@
     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;