summaryrefslogtreecommitdiffstats
path: root/m_config.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 21:00:45 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-21 21:00:45 +0000
commit82c228635812d12772fe087f772a1e942036daf2 (patch)
tree0d8f170b4435095b1bc2a62be02a3e988f16a155 /m_config.c
parentac52ed1b31a942e8685efd08b13c892ecd8e2654 (diff)
downloadmpv-82c228635812d12772fe087f772a1e942036daf2.tar.bz2
mpv-82c228635812d12772fe087f772a1e942036daf2.tar.xz
10l fix by eviv bulgroz <ebulgroz@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8513 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_config.c')
-rw-r--r--m_config.c4
1 files changed, 2 insertions, 2 deletions
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;
}