From a473739fbfcba5fded59eaa35342127728774490 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 28 Dec 2013 15:46:07 +0100 Subject: player: fix buggy error condition when loading mpv.conf --- player/configfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/configfiles.c b/player/configfiles.c index e506d0453e..7edbb65078 100644 --- a/player/configfiles.c +++ b/player/configfiles.c @@ -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"))) -- cgit v1.2.3