diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-06-18 19:35:02 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-06-18 19:35:02 +0300 |
commit | 4335f42176d2cc7a20ef0348ad3c28ab604f95b5 (patch) | |
tree | ae25d9b02e15d6a1b0fd7af6720cf303d0e34672 /src | |
parent | b86b15b22117e9aab6e6a033d9a541441acdecb4 (diff) | |
download | emacs-4335f42176d2cc7a20ef0348ad3c28ab604f95b5.tar.gz |
src/image.c: Fix last commit.
Fixes: debbugs:17790
Diffstat (limited to 'src')
-rw-r--r-- | src/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.c b/src/image.c index 3255982a157..4e4447167d2 100644 --- a/src/image.c +++ b/src/image.c @@ -7338,9 +7338,11 @@ gif_close (GifFileType *gif, int *err) retval = fn_DGifCloseFile (gif, err); #else retval = fn_DGifCloseFile (gif); +#if GIFLIB_MAJOR >= 5 if (err) *err = gif->Error; #endif +#endif } /* Load GIF image IMG for use on frame F. Value is true if @@ -7366,9 +7368,7 @@ gif_load (struct frame *f, struct image *img) Lisp_Object specified_data = image_spec_value (img->spec, QCdata, NULL); unsigned long bgcolor = 0; EMACS_INT idx; -#if GIFLIB_MAJOR >= 5 int gif_err; -#endif if (NILP (specified_data)) { |