[MPlayer-cvslog] CVS: main parser-mecmd.c, 1.13, 1.14 parser-mpcmd.c, 1.26, 1.27

Reynaldo H. Verdejo CVS syncmail at mplayerhq.hu
Sat Apr 22 23:30:37 CEST 2006


CVS change done by Reynaldo H. Verdejo CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv12323

Modified Files:
	parser-mecmd.c parser-mpcmd.c 
Log Message:
Small fix, incorrect MSGL at fatal error

Index: parser-mecmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mecmd.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- parser-mecmd.c	19 Apr 2006 15:50:37 -0000	1.13
+++ parser-mecmd.c	22 Apr 2006 21:30:34 -0000	1.14
@@ -100,7 +100,7 @@
 	  else
 	  if(tmp < 0){
 //	    mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp);
-	    mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Error parsing option on the command line: -%s\n",opt);
+	    mp_msg(MSGT_CFGPARSER, MSGL_FATAL, "Error parsing option on the command line: -%s\n",opt);
 	    goto err_out;
 	  }
 	} else {

Index: parser-mpcmd.c
===================================================================
RCS file: /cvsroot/mplayer/main/parser-mpcmd.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- parser-mpcmd.c	19 Apr 2006 15:50:37 -0000	1.26
+++ parser-mpcmd.c	22 Apr 2006 21:30:34 -0000	1.27
@@ -199,7 +199,7 @@
 	  tmp = M_OPT_EXIT - tmp;
 	} else
 	if (tmp < 0) {
-	  mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Error parsing option on the command line: -%s\n",opt);
+	  mp_msg(MSGT_CFGPARSER, MSGL_FATAL, "Error parsing option on the command line: -%s\n",opt);
 	  goto err_out;
 	}
 	i += tmp;




More information about the MPlayer-cvslog mailing list