Difference for common/image.c from version 1.19 to 1.20


version 1.19 version 1.20
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_image_c =   * static char *rcsid_image_c =
  *   "$Id: image.c,v 1.19 2006/02/09 00:48:36 akirschbaum Exp $";   *   "$Id: image.c,v 1.20 2006/02/10 23:59:25 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 319
 
Line 319
  * (needed in client, so that it will know to request that image   * (needed in client, so that it will know to request that image
  * from the server)   * from the server)
  */   */
 int FindFace (char *name, int error) {  int FindFace (const char *name, int error) {
     struct bmappair *bp, tmp;      struct bmappair *bp, tmp;
     char *p;      char *p;
   
     if ((p = strchr (name, '\n')))      if ((p = strchr (name, '\n')))
  *p = '\0';   *p = '\0';
   
     tmp.name = name;      tmp.name = (char *)name;
     bp = (struct bmappair *)bsearch       bp = (struct bmappair *)bsearch
  (&tmp, xbm, nroffiles, sizeof(struct bmappair), (int (*)(const void*, const void*))compar);   (&tmp, xbm, nroffiles, sizeof(struct bmappair), (int (*)(const void*, const void*))compar);
   


Legend:
line(s) removed in v.1.19 
line(s) changed
 line(s) added in v.1.20

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