From e74947001895de30dc8fd016080a4ef6c7d6cdc2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 26 Feb 2014 20:40:28 +0100 Subject: [PATCH] options: fix --list-options output This was a bit damaged by commit f3c933e5. --- options/m_config.c | 4 ++-- 1 file 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++;