diff m_config.c @ 10595:522afd56703c

100l to albeu for his english grammar, and 10l to me becouse I noticed that lately (my backward compatibilty macro uses M_OPT_UNKNOWN)
author alex
date Wed, 13 Aug 2003 16:45:02 +0000
parents 57bdcdb061d7
children 11b249ef87b0
line wrap: on
line diff
--- a/m_config.c	Wed Aug 13 16:29:32 2003 +0000
+++ b/m_config.c	Wed Aug 13 16:45:02 2003 +0000
@@ -229,7 +229,7 @@
   co = m_config_get_co(config,arg);
   if(!co){
 //    mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Unknown option: %s\n",arg);
-    return M_OPT_UNKNOW;
+    return M_OPT_UNKNOWN;
   }
 
 #ifdef MP_DEBUG
@@ -263,7 +263,7 @@
 	sprintf(n,"%s:%s",co->name,lst[2*i]);
 	sr = m_config_parse_option(config,n,lst[2*i+1],set);
 	if(sr < 0){
-	  if(sr == M_OPT_UNKNOW){
+	  if(sr == M_OPT_UNKNOWN){
 	    mp_msg(MSGT_CFGPARSER, MSGL_ERR,"Error: option '%s' has no suboption '%s'\n",co->name,lst[2*i]);
 	    r = M_OPT_INVALID;
 	  } else