Commit cab45eeb authored by Mikael Magnusson's avatar Mikael Magnusson

libgimpbase: fix compilation error in gimpmetadata.c

parent 59905273
......@@ -276,6 +276,8 @@ gimp_metadata_add_xmp_history (GimpMetadata *metadata,
gint id_count;
gint found;
gint lastfound;
gint count;
int ii;
static const gchar *tags[] =
{
......@@ -347,10 +349,10 @@ gimp_metadata_add_xmp_history (GimpMetadata *metadata,
/* Find current number of entries for Xmp.xmpMM.History */
found = 0;
for (gint count = 1; count < 65536; count++)
for (count = 1; count < 65536; count++)
{
lastfound = 0;
for (int ii = 0; ii < 5; ii++)
for (ii = 0; ii < 5; ii++)
{
g_snprintf (tagstr, sizeof (tagstr), "%s[%d]%s",
tags[3], count, history_tags[ii]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment