changeset 10660:8f168a4128c5

a 100l and another typo spotted by Alex "eagle eye" Beregszaszi
author diego
date Mon, 18 Aug 2003 13:49:22 +0000
parents 7c404c64a2bc
children 49d7d02f4485
files m_option.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m_option.c	Mon Aug 18 13:39:07 2003 +0000
+++ b/m_option.c	Mon Aug 18 13:49:22 2003 +0000
@@ -1049,7 +1049,7 @@
   } 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 @@
     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;
     }