player: fix buggy error condition when loading mpv.conf

This commit is contained in:
wm4 2013-12-28 15:46:07 +01:00
parent 62be13b019
commit a473739fbf
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ bool mp_parse_cfgfiles(struct MPContext *mpctx)
char *conffile;
if (!opts->load_config)
return true;
if (!m_config_parse_config_file(conf, MPLAYER_CONFDIR "/mpv.conf", 0) < 0)
if (m_config_parse_config_file(conf, MPLAYER_CONFDIR "/mpv.conf", 0) < 0)
return false;
mp_mk_config_dir(mpctx->global, NULL);
if (!(conffile = mp_find_user_config_file(NULL, mpctx->global, "config")))