]> git.eshelyaron.com Git - emacs.git/commit
Prefer giflib 5 macros to magic numbers
authorStefan Kangas <stefan@marxist.se>
Fri, 29 Oct 2021 15:44:29 +0000 (17:44 +0200)
committerStefan Kangas <stefan@marxist.se>
Fri, 29 Oct 2021 15:44:29 +0000 (17:44 +0200)
commit288e8bba81d9921a9b34627e6641afa74e41b49d
tree1c3dfc1fe488df572eb3e069683c490c32dfe868
parentf9282e1d724f1cb2e239f946957fdf02aa15dcc5
Prefer giflib 5 macros to magic numbers

* src/image.c (DISPOSAL_UNSPECIFIED, DISPOSE_DO_NOT)
(DISPOSE_BACKGROUND, DISPOSE_PREVIOUS, NO_TRANSPARENT_COLOR)
[GIFLIB_MAJOR < 5]: Macro defined (for old versions of giflib).
(gif_load): Replace magic numbers with giflib 5 macros for disposal
and transparency_color_index.
src/image.c