version 1.24 | | version 1.25 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.24 2003/02/11 08:10:53 mwedel Exp $"; | | * "$Id: arch.c,v 1.25 2003/09/03 13:42:17 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/* base name matched - not bad */ | | /* base name matched - not bad */ |
if (strcasecmp(cp,op->name)==0 && !count) return 4; | | if (strcasecmp(cp,op->name)==0 && !count) return 4; |
| | else if (op->custom_name && strcasecmp(cp,op->custom_name)==0) { |
| | pl->contr->count=count; /* May not do anything */ |
| | /* Return 5 so custom name has higher priority than normal name */ |
| | return 5; |
| | } |
| | |
else if (count>1) { /* Need to plurify name for proper match */ | | else if (count>1) { /* Need to plurify name for proper match */ |
if (!strcasecmp(cp,op->name_pl)) { | | if (!strcasecmp(cp,op->name_pl)) { |