From 7b085d4514d091945492cb00fa5a98bbd1bc7cf8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 30 Apr 2008 08:56:45 +0300 Subject: input: Move command bind variables to context struct --- command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'command.c') diff --git a/command.c b/command.c index 1c2e159bb1..70b924cac2 100644 --- a/command.c +++ b/command.c @@ -1924,9 +1924,9 @@ static int mp_property_teletext_mode(m_option_t *prop, int action, void *arg, return result; if(tvh->functions->control(tvh->priv, prop->priv, &val)==TVI_CONTROL_TRUE && val) - mp_input_set_section("teletext"); + mp_input_set_section(mpctx->input, "teletext"); else - mp_input_set_section("tv"); + mp_input_set_section(mpctx->input, "tv"); return M_PROPERTY_OK; } -- cgit v1.2.3