[Mplayer-cvslog] CVS: main cfgparser.c,1.12,1.13

Szabolcs Berecz szabii at users.sourceforge.net
Thu Mar 22 16:25:30 CET 2001


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

Modified Files:
	cfgparser.c 
Log Message:
fix TYPE_FLOAT parameter reading

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** cfgparser.c	2001/03/21 02:56:06	1.12
--- cfgparser.c	2001/03/22 15:25:28	1.13
***************
*** 142,146 ****
  			if (param == NULL)
  				goto err_missing_param;
! 			if (!isdigit(*param)) {
  				printf("parameter must be a floating point number:\n");
  				ret = ERR_MISSING_PARAM;
--- 142,146 ----
  			if (param == NULL)
  				goto err_missing_param;
! 			if (!isdigit(*param) && *param != '-' && *param != '.') {
  				printf("parameter must be a floating point number:\n");
  				ret = ERR_MISSING_PARAM;


_______________________________________________
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