[gimp] libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags



commit 70ac0e9d9a683cd84b3736b9e45cd15fe70b3252
Author: Michael Natterer <mitch gimp org>
Date:   Tue Sep 24 12:11:59 2019 +0200

    libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags
    
    it was checking gimp_export_xmp() not gimp_export_iptc(), probably a
    copy/paste error.

 libgimp/gimpimagemetadata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimp/gimpimagemetadata.c b/libgimp/gimpimagemetadata.c
index 8a0b40b88d..ce770c8bde 100644
--- a/libgimp/gimpimagemetadata.c
+++ b/libgimp/gimpimagemetadata.c
@@ -338,7 +338,7 @@ gimp_image_metadata_save_prepare (GimpImage             *image,
 
       /* IPTC */
 
-      if (! gimp_export_xmp () ||
+      if (! gimp_export_iptc () ||
           ! gexiv2_metadata_has_iptc (g2metadata))
         *suggested_flags &= ~GIMP_METADATA_SAVE_IPTC;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]