# HG changeset patch # User arpi # Date 1040504445 0 # Node ID 9c784bd027ad92ad1e140694486121762954af89 # Parent 2b955a07fdcf5c7c395fdaa4d6564b9bf884e165 10l fix by eviv bulgroz diff -r 2b955a07fdcf -r 9c784bd027ad m_config.c --- a/m_config.c Sat Dec 21 20:42:40 2002 +0000 +++ b/m_config.c Sat Dec 21 21:00:45 2002 +0000 @@ -224,11 +224,11 @@ // 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; }