diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -232,7 +232,8 @@ static int mp_property_generic_option(struct m_option *prop, int action, void *arg, MPContext *mpctx) { char *optname = prop->priv; - const struct m_option *opt = m_config_get_option(mpctx->mconfig, optname); + const struct m_option *opt = m_config_get_option(mpctx->mconfig, + bstr(optname)); void *valptr = m_option_get_ptr(opt, &mpctx->opts); switch (action) { |