aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd2/files/patch-gd_png.c
blob: f81c6db6c87db48cd50d70ed9eb5f4e976cd448b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gd_png.c.orig	Thu Apr 25 14:15:42 2002
+++ gd_png.c	Thu Apr 25 12:43:55 2002
@@ -225,7 +225,7 @@
 	      im->alpha[i] = gdAlphaMax - (trans[i] >> 1);
 	      if ((trans[i] == 0) && (firstZero))
 		{
-		  im->transparent = i;
+					  transparent = i;
 		  firstZero = 0;
 		}
 	    }