1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/graphics/giftool/files/extra-patch-ab
Satoshi Asami 6fff157c61 Upgrade to 1.0.
PR:		3772
Submitted by:	Yukihiro Nakai Nakai@Mlab.t.u-tokyo.ac.jp
1997-06-04 07:34:17 +00:00

20 lines
711 B
Plaintext

*** readGIF.c.orig Sat Mar 8 06:28:02 1997
--- readGIF.c Sat Mar 8 06:30:05 1997
***************
*** 253,259 ****
cur->data.image.cmapSize = 0;
}
! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height);
cur->data.image.interlaced = BitSet(buf[8], INTERLACE);
readImage(fd, BitSet(buf[8], INTERLACE),
cur->width, cur->height, cur->data.image.data);
--- 253,259 ----
cur->data.image.cmapSize = 0;
}
! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height + 1);
cur->data.image.interlaced = BitSet(buf[8], INTERLACE);
readImage(fd, BitSet(buf[8], INTERLACE),
cur->width, cur->height, cur->data.image.data);