Line 0
Link Here
|
|
|
1 |
--- Imlib/load.c-orig 2012-06-16 20:19:27.000000000 +0200 |
2 |
+++ Imlib/load.c 2012-06-16 20:19:56.000000000 +0200 |
3 |
@@ -420,6 +420,18 @@ |
4 |
#endif /* HAVE_LIBTIFF */ |
5 |
|
6 |
#ifdef HAVE_LIBGIF |
7 |
+ |
8 |
+static void |
9 |
+PrintGifError(void) |
10 |
+{ |
11 |
+ char *Err = GifErrorString(); |
12 |
+ |
13 |
+ if (Err != NULL) |
14 |
+ fprintf(stderr, "\nGIF-LIB error: %s.\n", Err); |
15 |
+ else |
16 |
+ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", GifError()); |
17 |
+} |
18 |
+ |
19 |
unsigned char * |
20 |
_LoadGIF(ImlibData * id, FILE *f, int *w, int *h, int *t) |
21 |
{ |