[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117255: src/image.c: Fix last commit.
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r117255: src/image.c: Fix last commit. |
Date: |
Wed, 18 Jun 2014 16:35:14 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117255
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17790
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Wed 2014-06-18 19:35:02 +0300
message:
src/image.c: Fix last commit.
modified:
src/image.c image.c-20091113204419-o5vbwnq5f7feedwu-2969
=== modified file 'src/image.c'
--- a/src/image.c 2014-06-18 15:15:52 +0000
+++ b/src/image.c 2014-06-18 16:35:02 +0000
@@ -7338,9 +7338,11 @@
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 @@
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))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117255: src/image.c: Fix last commit.,
Eli Zaretskii <=