summaryrefslogtreecommitdiffstats
path: root/options/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'options/path.c')
-rw-r--r--options/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/path.c b/options/path.c
index f0570cac8e..53ce3a5282 100644
--- a/options/path.c
+++ b/options/path.c
@@ -125,7 +125,7 @@ char *mp_find_global_config_file(void *talloc_ctx, struct mpv_global *global,
struct MPOpts *opts = global->opts;
char *res = NULL;
- if (opts->load_config || !(opts->force_configdir && opts->force_configdir[0]))
+ if (opts->load_config && !(opts->force_configdir && opts->force_configdir[0]))
{
if (filename) {
res = mp_path_join(talloc_ctx, bstr0(MPLAYER_CONFDIR), bstr0(filename));