[devel] Change "trans" to "trans_alpha"

This commit is contained in:
Glenn Randers-Pehrson
2009-08-08 16:52:06 -05:00
parent 866b62acdc
commit 6abea7562b
9 changed files with 42 additions and 42 deletions

4
png.c
View File

@@ -344,8 +344,8 @@ png_free_data(png_structp png_ptr, png_infop info_ptr, png_uint_32 mask,
if ((mask & PNG_FREE_TRNS) && (png_ptr->flags & PNG_FLAG_FREE_TRNS))
#endif
{
png_free(png_ptr, info_ptr->trans);
info_ptr->trans = NULL;
png_free(png_ptr, info_ptr->trans_alpha);
info_ptr->trans_alpha = NULL;
info_ptr->valid &= ~PNG_INFO_tRNS;
#ifndef PNG_FREE_ME_SUPPORTED
png_ptr->flags &= ~PNG_FLAG_FREE_TRNS;