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

Szabolcs Berecz szabii at users.sourceforge.net
Tue Apr 17 00:13:14 CEST 2001


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

Modified Files:
	cfgparser.c 
Log Message:
now it accepts monitor_hfreq...

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** cfgparser.c	2001/04/11 00:17:08	1.15
--- cfgparser.c	2001/04/16 22:13:12	1.16
***************
*** 285,290 ****
  			continue;
  
! 		/* read option. accept char if isalnum(char) */
! 		for (opt_pos = 0; isalnum(line[line_pos]); /* NOTHING */) {
  			opt[opt_pos++] = line[line_pos++];
  			if (opt_pos >= MAX_OPT_LEN) {
--- 285,293 ----
  			continue;
  
! 		/* read option. */
! 		for (opt_pos = 0; isprint(line[line_pos]) &&
! 				line[line_pos] != ' ' &&
! 				line[line_pos] != '#' &&
! 				line[line_pos] != '='; /* NOTHING */) {
  			opt[opt_pos++] = line[line_pos++];
  			if (opt_pos >= MAX_OPT_LEN) {


_______________________________________________
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