Difference for crossedit/png.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_png_c =   * static char *rcsid_png_c =
  *   "$Id: png.c,v 1.5 2001/07/14 04:05:28 mwedel Exp $";   *   "$Id: png.c,v 1.6 2002/05/20 03:11:49 mwedel Exp $";
  */   */
 /*  /*
     Crossfire client, a client program for the crossfire program.      Crossfire client, a client program for the crossfire program.
Line 220
 
Line 220
     ximage = XCreateImage(display, visual,      ximage = XCreateImage(display, visual,
        depth,         depth,
        ZPixmap, 0, 0,          ZPixmap, 0, 0,
        32, 32,  pad, 0);         256, 256,  pad, 0);
     if (!ximage) {      if (!ximage) {
  fprintf(stderr,"Failed to create Ximage\n");   fprintf(stderr,"Failed to create Ximage\n");
  return 1;   return 1;
     }      }
     ximage->data = malloc(ximage->bytes_per_line * 32);      ximage->data = malloc(ximage->bytes_per_line * 256);
     if (!ximage->data) {      if (!ximage->data) {
  fprintf(stderr,"Failed to create Ximage data\n");   fprintf(stderr,"Failed to create Ximage data\n");
  return 1;   return 1;


Legend:
line(s) removed in v.1.5 
line(s) changed
 line(s) added in v.1.6

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