Commit a1c7606d authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

file-png: Conditionally declare text_length

parent f610aa43
......@@ -1223,7 +1223,9 @@ save_image (const gchar *filename,
if (pngvals.comment)
{
GimpParasite *parasite;
#ifndef PNG_iTXt_SUPPORTED
gsize text_length = 0;
#endif /* PNG_iTXt_SUPPORTED */
parasite = gimp_image_get_parasite (orig_image_ID, "gimp-comment");
if (parasite)
......
Supports Markdown
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