*** empty log message ***

This commit is contained in:
Marc Lehmann
2000-06-08 14:42:05 +00:00
parent 4dd2777981
commit ef634d3be5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Jun 8 15:45:40 CEST 2000 Marc Lehmann <pcg@goof.com>
* plug-ins/common/gif.c: gimp-comment's were wrongly assumed to be
zero-terminated strings.
2000-06-08 Sven Neumann <sven@gimp.org>
* tips/gimp_tips.txt: somehow a few spaces sneaked in here

View File

@ -1274,8 +1274,9 @@ save_dialog (gint32 image_ID)
GIF2_CMNT = gimp_image_parasite_find (image_ID, "gimp-comment");
if (GIF2_CMNT)
{
globalcomment = g_malloc (GIF2_CMNT->size);
strcpy (globalcomment, GIF2_CMNT->data);
globalcomment = g_malloc (GIF2_CMNT->size+1);
memcpy (globalcomment, GIF2_CMNT->data, GIF2_CMNT->size);
globalcomment[GIF2_CMNT->size] = 0;
}
else
{