mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
Small fix, incorrect MSGL at fatal error
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18210 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
db4b785a11
commit
889eedb39e
@ -100,7 +100,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
|
|||||||
else
|
else
|
||||||
if(tmp < 0){
|
if(tmp < 0){
|
||||||
// mp_msg(MSGT_CFGPARSER, MSGL_ERR, "m_config_set_option() failed (%d)\n",tmp);
|
// 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;
|
goto err_out;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -199,7 +199,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
|
|||||||
tmp = M_OPT_EXIT - tmp;
|
tmp = M_OPT_EXIT - tmp;
|
||||||
} else
|
} else
|
||||||
if (tmp < 0) {
|
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;
|
goto err_out;
|
||||||
}
|
}
|
||||||
i += tmp;
|
i += tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user