comparison parser-mpcmd.c @ 18209:8692be1df74b

Small fix, incorrect MSGL at fatal error
author reynaldo
date Sat, 22 Apr 2006 21:30:34 +0000
parents 280f93388ac3
children 1a14fde7680d
comparison
equal deleted inserted replaced
18208:70edbfdeca61 18209:8692be1df74b
197 if (tmp <= M_OPT_EXIT) { 197 if (tmp <= M_OPT_EXIT) {
198 opt_exit = 1; 198 opt_exit = 1;
199 tmp = M_OPT_EXIT - tmp; 199 tmp = M_OPT_EXIT - tmp;
200 } else 200 } else
201 if (tmp < 0) { 201 if (tmp < 0) {
202 mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Error parsing option on the command line: -%s\n",opt); 202 mp_msg(MSGT_CFGPARSER, MSGL_FATAL, "Error parsing option on the command line: -%s\n",opt);
203 goto err_out; 203 goto err_out;
204 } 204 }
205 i += tmp; 205 i += tmp;
206 } 206 }
207 else /* filename */ 207 else /* filename */