mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
aa2d1dcd1c
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
30 lines
804 B
Diff
30 lines
804 B
Diff
diff -wbBur xplanet-1.3.1/src/libimage/gif.c xplanet-1.3.1.q/src/libimage/gif.c
|
|
--- xplanet-1.3.1/src/libimage/gif.c 2013-02-16 23:37:47.000000000 +0400
|
|
+++ xplanet-1.3.1.q/src/libimage/gif.c 2016-03-14 17:41:14.244144734 +0300
|
|
@@ -179,7 +179,7 @@
|
|
}
|
|
}
|
|
|
|
- if (DGifCloseFile(GifFile) == GIF_ERROR) {
|
|
+ if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) {
|
|
return(0);
|
|
}
|
|
|
|
@@ -493,7 +493,7 @@
|
|
static void QuitGifError(GifFileType *GifFile)
|
|
{
|
|
fprintf(stderr, "Error writing GIF file\n");
|
|
- if (GifFile != NULL) EGifCloseFile(GifFile);
|
|
+ if (GifFile != NULL) EGifCloseFile(GifFile, NULL);
|
|
}
|
|
|
|
int
|
|
@@ -589,7 +589,7 @@
|
|
Ptr += width;
|
|
}
|
|
|
|
- if (EGifCloseFile(GifFile) == GIF_ERROR)
|
|
+ if (EGifCloseFile(GifFile, NULL) == GIF_ERROR)
|
|
|
|
{
|
|
QuitGifError(GifFile);
|