[MPlayer-cvslog] CVS: main mp_msg.c,1.39,1.40 mp_msg.h,1.40,1.41

Richard Felker CVS syncmail at mplayerhq.hu
Fri Mar 31 00:28:35 CEST 2006


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv17345

Modified Files:
	mp_msg.c mp_msg.h 
Log Message:
more cruft

Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- mp_msg.c	30 Mar 2006 22:14:44 -0000	1.39
+++ mp_msg.c	30 Mar 2006 22:28:32 -0000	1.40
@@ -67,7 +67,7 @@
     
     if (!mp_msg_test(mod, lev)) return; // do not display
     va_start(va, format);
-    vsnprintf(tmp, MSGSIZE_MAX, mp_gettext(format), va);
+    vsnprintf(tmp, MSGSIZE_MAX, format, va);
     va_end(va);
     tmp[MSGSIZE_MAX-2] = '\n';
     tmp[MSGSIZE_MAX-1] = 0;

Index: mp_msg.h
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- mp_msg.h	27 Mar 2006 06:59:00 -0000	1.40
+++ mp_msg.h	30 Mar 2006 22:28:32 -0000	1.41
@@ -109,13 +109,6 @@
 #define mp_dbg(mod,lev, args... ) 
 #else
 
-#ifdef USE_I18N
-#include <libintl.h>
-#define mp_gettext(String) gettext(String)
-#else
-#define mp_gettext(String) String
-#endif
-
 #ifdef __GNUC__
 void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4)));
 #   ifdef MP_DEBUG




More information about the MPlayer-cvslog mailing list