[Mplayer-cvslog] CVS: main mp_msg.c,1.22,1.23
Alex Beregszaszi
alex at mplayerhq.hu
Sun Jul 13 16:43:52 CEST 2003
- Previous message: [Mplayer-cvslog] CVS: main/help help_mp-bg.h,1.12,1.13 help_mp-cz.h,1.37,1.38 help_mp-de.h,1.66,1.67 help_mp-dk.h,1.24,1.25 help_mp-el.h,1.14,1.15 help_mp-en.h,1.102,1.103 help_mp-es.h,1.26,1.27 help_mp-fr.h,1.42,1.43 help_mp-hu.h,1.60,1.61 help_mp-it.h,1.23,1.24 help_mp-ko.h,1.14,1.15 help_mp-nl.h,1.24,1.25 help_mp-no.h,1.13,1.14 help_mp-pl.h,1.68,1.69 help_mp-pt_BR.h,1.13,1.14 help_mp-ro.h,1.9,1.10 help_mp-ru.h,1.24,1.25 help_mp-sk.h,1.15,1.16 help_mp-tr.h,1.5,1.6 help_mp-uk.h,1.7,1.8 help_mp-zh.h,1.25,1.26 help_mp-zh_TW.h,1.2,1.3
- Next message: [Mplayer-cvslog] CVS: main/libdha/kernelhelper dhahelper.c,1.2,1.3 dhahelper.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv15280
Modified Files:
mp_msg.c
Log Message:
moved some annonying messages to debug mode only
Index: mp_msg.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp_msg.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- mp_msg.c 27 Dec 2002 16:17:57 -0000 1.22
+++ mp_msg.c 13 Jul 2003 14:43:28 -0000 1.23
@@ -31,14 +31,18 @@
void mp_msg_init(){
#ifdef USE_I18N
+#ifdef MP_DEBUG
fprintf(stdout, "Using GNU internationalization\n");
fprintf(stdout, "Original domain: %s\n", textdomain(NULL));
fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL));
+#endif
setlocale(LC_ALL, ""); /* set from the environment variables */
bindtextdomain("mplayer", PREFIX"/share/locale");
textdomain("mplayer");
+#ifdef MP_DEBUG
fprintf(stdout, "Current domain: %s\n", textdomain(NULL));
- fprintf(stdout, "Current dirname: %s\n", bindtextdomain(textdomain(NULL),NULL));
+ fprintf(stdout, "Current dirname: %s\n\n", bindtextdomain(textdomain(NULL),NULL));
+#endif
#endif
mp_msg_set_level(MSGL_STATUS);
}
@@ -90,7 +94,8 @@
#endif
#ifdef MSG_USE_COLORS
-#if 1
+/* that's only a silly color test */
+#ifdef MP_DEBUG
{ int c;
static int flag=1;
if(flag)
- Previous message: [Mplayer-cvslog] CVS: main/help help_mp-bg.h,1.12,1.13 help_mp-cz.h,1.37,1.38 help_mp-de.h,1.66,1.67 help_mp-dk.h,1.24,1.25 help_mp-el.h,1.14,1.15 help_mp-en.h,1.102,1.103 help_mp-es.h,1.26,1.27 help_mp-fr.h,1.42,1.43 help_mp-hu.h,1.60,1.61 help_mp-it.h,1.23,1.24 help_mp-ko.h,1.14,1.15 help_mp-nl.h,1.24,1.25 help_mp-no.h,1.13,1.14 help_mp-pl.h,1.68,1.69 help_mp-pt_BR.h,1.13,1.14 help_mp-ro.h,1.9,1.10 help_mp-ru.h,1.24,1.25 help_mp-sk.h,1.15,1.16 help_mp-tr.h,1.5,1.6 help_mp-uk.h,1.7,1.8 help_mp-zh.h,1.25,1.26 help_mp-zh_TW.h,1.2,1.3
- Next message: [Mplayer-cvslog] CVS: main/libdha/kernelhelper dhahelper.c,1.2,1.3 dhahelper.h,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list