summaryrefslogtreecommitdiffstats
path: root/m_option.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-18 13:49:22 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-18 13:49:22 +0000
commit06f1a02f0058cd234293586927a4f3ca4d88d53c (patch)
tree0ec874be721ab49f21933122c731b75439741bcd /m_option.c
parentdb4bf6023c79ae88db35655f656b03bbc7fb5aff (diff)
downloadmpv-06f1a02f0058cd234293586927a4f3ca4d88d53c.tar.bz2
mpv-06f1a02f0058cd234293586927a4f3ca4d88d53c.tar.xz
a 100l and another typo
spotted by Alex "eagle eye" Beregszaszi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10661 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_option.c')
-rw-r--r--m_option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/m_option.c b/m_option.c
index 5618863a3e..d0dcd3558e 100644
--- a/m_option.c
+++ b/m_option.c
@@ -1049,7 +1049,7 @@ static int get_obj_param(char* opt_name,char* obj_name, m_struct_t* desc,
} else {
if((*nold) >= oldmax) {
mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: %s has only %d params, so you can't give more than %d unnamed params.\n",
- opt_name,obj_name,oldmax);
+ opt_name,obj_name,oldmax,oldmax);
return M_OPT_OUT_OF_RANGE;
}
opt = &desc->fields[(*nold)];
@@ -1288,7 +1288,7 @@ static int obj_settings_list_del(char *opt_name,char *param,void* dst, int src)
char* endptr;
id = strtol(str_list[r],&endptr,0);
if(endptr == str_list[r]) {
- mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: invalid parameter. We need a list of integers wich are the indices of the elements to remove.\n",opt_name);
+ mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: invalid parameter. We need a list of integers which are the indices of the elements to remove.\n",opt_name);
m_option_free(&list_opt,&str_list);
return M_OPT_INVALID;
}