*** empty log message ***
This commit is contained in:
@ -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>
|
2000-06-08 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* tips/gimp_tips.txt: somehow a few spaces sneaked in here
|
* tips/gimp_tips.txt: somehow a few spaces sneaked in here
|
||||||
|
@ -1274,8 +1274,9 @@ save_dialog (gint32 image_ID)
|
|||||||
GIF2_CMNT = gimp_image_parasite_find (image_ID, "gimp-comment");
|
GIF2_CMNT = gimp_image_parasite_find (image_ID, "gimp-comment");
|
||||||
if (GIF2_CMNT)
|
if (GIF2_CMNT)
|
||||||
{
|
{
|
||||||
globalcomment = g_malloc (GIF2_CMNT->size);
|
globalcomment = g_malloc (GIF2_CMNT->size+1);
|
||||||
strcpy (globalcomment, GIF2_CMNT->data);
|
memcpy (globalcomment, GIF2_CMNT->data, GIF2_CMNT->size);
|
||||||
|
globalcomment[GIF2_CMNT->size] = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user