summaryrefslogtreecommitdiffstats
path: root/plug-ins/common/file-png.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit74f0d9eb037dc24bdfd1f0f325e483e380451d32 (patch)
treefaaaf44f426c20626c05034846c0b481c0e54983 /plug-ins/common/file-png.c
parentAdding upstream version 2.10.36. (diff)
downloadgimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.tar.xz
gimp-74f0d9eb037dc24bdfd1f0f325e483e380451d32.zip
Adding upstream version 2.10.38.upstream/2.10.38upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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];