changeset 18209:8692be1df74b

Small fix, incorrect MSGL at fatal error
author reynaldo
date Sat, 22 Apr 2006 21:30:34 +0000
parents 70edbfdeca61
children 880d7105d452
files parser-mecmd.c parser-mpcmd.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/parser-mecmd.c	Sat Apr 22 19:34:49 2006 +0000
+++ b/parser-mecmd.c	Sat Apr 22 21:30:34 2006 +0000
@@ -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 {
--- a/parser-mpcmd.c	Sat Apr 22 19:34:49 2006 +0000
+++ b/parser-mpcmd.c	Sat Apr 22 21:30:34 2006 +0000
@@ -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;