mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
more cruft
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18001 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ea24507b8c
commit
a703fdaa61
2
mp_msg.c
2
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;
|
||||
|
7
mp_msg.h
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user