options: fix --list-options output

This was a bit damaged by commit f3c933e5.
This commit is contained in:
wm4 2014-02-26 20:40:28 +01:00
parent eca9210399
commit e749470018
1 changed files with 2 additions and 2 deletions

View File

@ -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++;