mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
Prepare for additional argument to function DGifOpen in newer libgif versions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37078 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c75ec40019
commit
c0c27b5f8c
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-09-13 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/NSBitmapImageRep+GIF.m (-_initBitmapFromGIF:): Prepare for
|
||||
additional argument to function DGifOpen in newer libgif versions.
|
||||
|
||||
2013-08-30 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source\NSAttributedString.m (-fixFontAttributeInRange:): In the
|
||||
|
|
|
@ -220,7 +220,11 @@ static int gs_gif_output(GifFileType *file, const GifByteType *buffer, int len)
|
|||
|
||||
/* open the image */
|
||||
gs_gif_init_input_source(&src, imageData);
|
||||
#if GIFLIB_MAJOR >= 5
|
||||
file = DGifOpen(&src, gs_gif_input, NULL);
|
||||
#else
|
||||
file = DGifOpen(&src, gs_gif_input);
|
||||
#endif
|
||||
if (file == NULL)
|
||||
{
|
||||
/* we do not use giferror here because it doesn't
|
||||
|
|
Loading…
Reference in a new issue