summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mp_msg.c2
-rw-r--r--mp_msg.h7
2 files changed, 1 insertions, 8 deletions
diff --git a/mp_msg.c b/mp_msg.c
index d65d9f9767..bc0d931a14 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -67,7 +67,7 @@ void mp_msg(int mod, int lev, const char *format, ... ){
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;
diff --git a/mp_msg.h b/mp_msg.h
index 3d534f2e3f..4b81e0f1c2 100644
--- a/mp_msg.h
+++ b/mp_msg.h
@@ -109,13 +109,6 @@ int mp_msg_test(int mod, int lev);
#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