libgimp: Fix last MSVC warning

This commit is contained in:
Bruno Lopes 2026-04-01 08:16:51 -03:00
parent ca7da0080a
commit 9df9cf7ed1

View file

@ -347,7 +347,11 @@ gimp_fix_xmp_tag (const gchar *tag)
while ((substring = strstr (tag, org)))
{
#ifndef _UCRT
strcpy (substring, new);
#else
strcpy_s (substring, strlen (org) + 1, new);
#endif
tail = substring + strlen (org);
substring += strlen (new);