From 06f1a02f0058cd234293586927a4f3ca4d88d53c Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 18 Aug 2003 13:49:22 +0000 Subject: 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 --- m_option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm_option.c') 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; } -- cgit v1.2.3