Difference for common/region.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: region.c,v 1.2 2005/03/23 21:34:30 cavesomething Exp $";   *   "$Id: region.c,v 1.3 2005/03/24 22:35:26 cavesomething Exp $";
  */   */
   
 /*  /*
Line 93
 
Line 93
 region *get_region_from_string(char *name) {  region *get_region_from_string(char *name) {
     region *reg;      region *reg;
     char *substr;      char *substr;
       char *p;
     sint16 i;      sint16 i;
          
     if (name==NULL) {      if (name==NULL) {
     for (reg=first_region;reg->parent!=NULL;reg=reg->parent);      for (reg=first_region;reg->parent!=NULL;reg=reg->parent);
     return reg;      return reg;
     }      }
     char *p = strchr(name, '\n');      p = strchr(name, '\n');
     if (p) *p = '\0';      if (p) *p = '\0';
     for (reg=first_region;reg!=NULL;reg=reg->next)      for (reg=first_region;reg!=NULL;reg=reg->next)
  if (!strcasecmp(reg->name, name)) return reg;   if (!strcasecmp(reg->name, name)) return reg;


Legend:
line(s) removed in v.1.2 
line(s) changed
 line(s) added in v.1.3

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