[Mplayer-cvslog] CVS: main m_option.c,1.20,1.21

Diego Biurrun CVS diego at mplayerhq.hu
Mon Aug 18 15:49:47 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv12498

Modified Files:
	m_option.c 
Log Message:
a 100l and another typo
spotted by Alex "eagle eye" Beregszaszi


Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- m_option.c	17 Aug 2003 13:51:04 -0000	1.20
+++ m_option.c	18 Aug 2003 13:49:22 -0000	1.21
@@ -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;
     }



More information about the MPlayer-cvslog mailing list