Skip to content

Commit

Permalink
do not prefix iTxt key with 'png:'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 16, 2023
1 parent c62fc01 commit cae7fe1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions coders/png.c
Original file line number Diff line number Diff line change
Expand Up @@ -1876,8 +1876,6 @@ static int PNGParseiTXt(Image *image,png_byte *data,png_size_t size,
(void) FormatLocaleString(key,MagickPathExtent,"%s",(const char *)
GetStringInfoDatum(profile));
offset=strlen(key)+1;
(void) FormatLocaleString(key,MagickPathExtent,"png:%s",(const char *)
GetStringInfoDatum(profile));
if (((MagickOffsetType) size-offset) < 1)
{
profile=DestroyStringInfo(profile);
Expand Down

0 comments on commit cae7fe1

Please sign in to comment.