[Mplayer-cvslog] CVS: main cfgparser.c,1.16,1.17

Gabor Lenart lgb at users.sourceforge.net
Sun Jun 3 03:46:30 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv30485/main

Modified Files:
	cfgparser.c 
Log Message:
Removing annoying 'Reading config file ...' message when you run without verbose mode (-v)

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** cfgparser.c	2001/04/16 22:13:12	1.16
--- cfgparser.c	2001/06/03 01:46:28	1.17
***************
*** 31,34 ****
--- 31,36 ----
  #include "cfgparser.h"
  
+ extern int verbose;
+ 
  static struct config *config;
  static int nr_options;		/* number of options in 'conf' */
***************
*** 252,256 ****
  	}		
  
! 	printf("Reading config file: %s", conffile);
  
  	if (init_conf(conf, CONFIG_FILE) == -1) {
--- 254,258 ----
  	}		
  
! 	if (verbose) printf("Reading config file: %s", conffile);
  
  	if (init_conf(conf, CONFIG_FILE) == -1) {


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list