diff options
-rw-r--r-- | mp_msg.c | 2 | ||||
-rw-r--r-- | mp_msg.h | 7 |
2 files changed, 1 insertions, 8 deletions
@@ -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; @@ -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 |