Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 308731
Collapse All | Expand All

(-)xbubble-0.5.8.orig//src/loadpng.c (-1 / +1 lines)
Lines 55-61 unsigned char * load_png_file( const cha Link Here
55
  }
55
  }
56
  /* ensure that we opened a PNG file */
56
  /* ensure that we opened a PNG file */
57
  fread( header, 1, 8, fd );
57
  fread( header, 1, 8, fd );
58
  if ( ! png_check_sig( header, 8 ) ) {
58
  if ( png_sig_cmp( header, 0, 8 ) ) {
59
    fclose(fd);
59
    fclose(fd);
60
    fprintf(stderr,_("File %s does not have a valid PNG signature.\n"), file);
60
    fprintf(stderr,_("File %s does not have a valid PNG signature.\n"), file);
61
    return NULL;
61
    return NULL;

Return to bug 308731