changeset 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 d1cbcf738db1
children 890a0abfe0b8
files mp_msg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;