summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-26 20:40:28 +0100
committerwm4 <wm4@nowhere>2014-02-26 21:03:35 +0100
commite74947001895de30dc8fd016080a4ef6c7d6cdc2 (patch)
treed4e1a050065653308907fb7356534adb3b10165a /options
parenteca921039973720f94b6ee6035019739e9fed4fb (diff)
downloadmpv-e74947001895de30dc8fd016080a4ef6c7d6cdc2.tar.bz2
mpv-e74947001895de30dc8fd016080a4ef6c7d6cdc2.tar.xz
options: fix --list-options output
This was a bit damaged by commit f3c933e5.
Diffstat (limited to 'options')
-rw-r--r--options/m_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/m_config.c b/options/m_config.c
index f2cb8ce98f..efae6cc885 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -698,9 +698,9 @@ void m_config_print_option_list(const struct m_config *config)
MP_INFO(config, " (default: %s)", def);
talloc_free(def);
}
- if (opt->flags & CONF_GLOBAL)
+ if (opt->flags & M_OPT_GLOBAL)
MP_INFO(config, " [global]");
- if (opt->flags & CONF_NOCFG)
+ if (opt->flags & M_OPT_NOCFG)
MP_INFO(config, " [nocfg]");
MP_INFO(config, "\n");
count++;