[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


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)



More information about the MPlayer-cvslog mailing list