summaryrefslogtreecommitdiffstats
path: root/plug-ins/common/file-png.c
diff options
context:
space:
mode:
Diffstat (limited to 'plug-ins/common/file-png.c')
-rw-r--r--plug-ins/common/file-png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index 063f201..3214445 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -2104,7 +2104,7 @@ save_image (const gchar *filename,
/* If we're dealing with a paletted image with
* transparency set, write out the remapped palette */
- if (png_get_valid (pp, info, PNG_INFO_tRNS))
+ if (pngg.has_trns)
{
guchar inverse_remap[256];