Prevent robert@ from killing me at p2k10.

This commit is contained in:
kili 2010-06-28 20:12:20 +00:00
parent ced5f3e96e
commit db283c94d0

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_pngcodec_c,v 1.1 2010/06/28 20:12:20 kili Exp $
--- src/pngcodec.c.orig Tue Apr 13 13:30:06 2010
+++ src/pngcodec.c Mon Jun 28 21:00:47 2010
@@ -352,7 +352,7 @@ gdip_load_png_image_from_file_or_stream (FILE *fp, Get
info_ptr->palette[i].blue,
info_ptr->palette[i].green,
info_ptr->palette[i].red,
-#if PNG_LIBPNG_VER > 10243
+#if PNG_LIBPNG_VER > 10299
info_ptr->trans_alpha [i]); /* alpha */
#else
info_ptr->trans[i]); /* alpha */