Commit bcf9c943 authored by Michael Natterer's avatar Michael Natterer 😴

app: s/sprintf/g_snprintf/ in xcf_save_image()

parent ec80a885
......@@ -237,7 +237,8 @@ xcf_save_image (XcfInfo *info,
/* write out the tag information for the image */
if (info->file_version > 0)
sprintf (version_tag, "gimp xcf v%03d", info->file_version);
g_snprintf (version_tag, sizeof (version_tag),
"gimp xcf v%03d", info->file_version);
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