From 74f0d9eb037dc24bdfd1f0f325e483e380451d32 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2024 10:16:47 +0200 Subject: Adding upstream version 2.10.38. Signed-off-by: Daniel Baumann --- plug-ins/common/file-png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plug-ins/common/file-png.c') 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]; -- cgit v1.2.3