changeset 18000:3b4e03cb518d

more cruft
author rfelker
date Thu, 30 Mar 2006 22:28:32 +0000
parents d096b8febbfa
children a2683ee7cb5a
files mp_msg.c mp_msg.h
diffstat 2 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mp_msg.c	Thu Mar 30 22:15:50 2006 +0000
+++ b/mp_msg.c	Thu Mar 30 22:28:32 2006 +0000
@@ -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;
--- a/mp_msg.h	Thu Mar 30 22:15:50 2006 +0000
+++ b/mp_msg.h	Thu Mar 30 22:28:32 2006 +0000
@@ -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