mirror of https://github.com/GNOME/gimp.git
app: s/sprintf/g_snprintf/ in xcf_save_image()
This commit is contained in:
parent
ec80a88513
commit
bcf9c94358
|
@ -237,7 +237,8 @@ xcf_save_image (XcfInfo *info,
|
||||||
/* write out the tag information for the image */
|
/* write out the tag information for the image */
|
||||||
if (info->file_version > 0)
|
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);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue