summaryrefslogtreecommitdiff
path: root/www/Mosaic/patches/patch-ai
blob: 4940f66bde1e517e1d9a813667682fe9699cc342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** src/readPNG.c.bak	Sun Jun 30 16:30:00 1996
--- src/readPNG.c	Sat Aug  3 14:22:45 1996
***************
*** 159,165 ****
      }
  
      /* SWP -- Hopefully to fix cores on bad PNG files */
!     png_set_message_fn(png_ptr,png_get_msg_ptr(png_ptr),NULL,NULL); 
  
          /* initialize the structures */
      png_info_init(info_ptr);
--- 159,165 ----
      }
  
      /* SWP -- Hopefully to fix cores on bad PNG files */
!     png_set_error_fn(png_ptr,png_get_error_ptr(png_ptr),NULL,NULL);
  
          /* initialize the structures */
      png_info_init(info_ptr);