From 82c228635812d12772fe087f772a1e942036daf2 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 21 Dec 2002 21:00:45 +0000 Subject: 10l fix by eviv bulgroz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8513 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm_config.c') diff --git a/m_config.c b/m_config.c index b32d60c699..f669cd23bb 100644 --- a/m_config.c +++ b/m_config.c @@ -224,11 +224,11 @@ m_config_parse_option(m_config_t *config, char* arg, char* param,int set) { // Check if this option isn't forbiden in the current mode if((config->mode == M_CONFIG_FILE) && (co->opt->flags & M_OPT_NOCFG)) { - mp_msg(MSGT_CFGPARSER, MSGL_ERR,"The %s option can't be used in a config file\n",config->lvl); + mp_msg(MSGT_CFGPARSER, MSGL_ERR,"The %s option can't be used in a config file\n",arg); return M_OPT_INVALID; } if((config->mode == M_COMMAND_LINE) && (co->opt->flags & M_OPT_NOCMD)) { - mp_msg(MSGT_CFGPARSER, MSGL_ERR,"The %s option can't be used on the command line\n",config->lvl); + mp_msg(MSGT_CFGPARSER, MSGL_ERR,"The %s option can't be used on the command line\n",arg); return M_OPT_INVALID; } -- cgit v1.2.3