[Mplayer-cvslog] CVS: main cfgparser.c,1.27,1.28

Szabolcs Berecz szabi at mplayer.dev.hu
Mon Oct 22 22:22:57 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv10887

Modified Files:
	cfgparser.c 
Log Message:
fix error reporting bug

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- cfgparser.c	1 Oct 2001 15:58:17 -0000	1.27
+++ cfgparser.c	22 Oct 2001 20:22:25 -0000	1.28
@@ -73,7 +73,8 @@
 			break;
 	}
 	if (i == nr_options) {
-		printf("invalid option:\n");
+		if (parser_mode == CONFIG_FILE)
+			printf("invalid option:\n");
 		ret = ERR_NOT_AN_OPTION;
 		goto out;
 	}




More information about the MPlayer-cvslog mailing list