Difference for common/arch.c from version 1.23 to 1.24


version 1.23 version 1.24
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_arch_c =   * static char *rcsid_arch_c =
  *   "$Id: arch.c,v 1.23 2002/07/15 04:57:11 mwedel Exp $";   *   "$Id: arch.c,v 1.24 2003/02/11 08:10:53 mwedel Exp $";
  */   */
   
 /*  /*
Line 190
 
Line 190
        MIN(strlen(cp),strlen(query_base_name(op,0))))) retval=14;         MIN(strlen(cp),strlen(query_base_name(op,0))))) retval=14;
  else if (!strncasecmp(cp,query_base_name(op,1),   else if (!strncasecmp(cp,query_base_name(op,1),
        MIN(strlen(cp),strlen(query_base_name(op,1))))) retval=14;         MIN(strlen(cp),strlen(query_base_name(op,1))))) retval=14;
   
    /* Do substring checks, so things like 'Str+1' will match.
    * retval of these should perhaps be lower - they are lower
    * then the specific strcasecmp aboves, but still higher than
    * some other match criteria.
    */
    else if (strstr(query_base_name(op,1), cp)) retval = 12;
    else if (strstr(query_base_name(op,0), cp)) retval = 12;
    else if (strstr(query_short_name(op), cp)) retval = 12;
   
  if (retval) {   if (retval) {
      if (pl->type == PLAYER)       if (pl->type == PLAYER)
  pl->contr->count=count;   pl->contr->count=count;


Legend:
line(s) removed in v.1.23 
line(s) changed
 line(s) added in v.1.24

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:05