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.
This commit is contained in:
Michael Natterer 2019-09-24 12:11:59 +02:00
parent e34ffbff81
commit 70ac0e9d9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;