summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-11-03 11:06:23 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2021-11-03 11:06:23 +0000
commitd96f028f305b5286618dcfc682e0de2515b3b7bd (patch)
treee3cb55d9b62513da1c418ddc26c3fc0f5789b720 /include
parent2d440af6eed4d0ff82b8ef5143c7d2aee3856cc8 (diff)
downloadlibnsgif-d96f028f305b5286618dcfc682e0de2515b3b7bd.tar.gz
libnsgif-d96f028f305b5286618dcfc682e0de2515b3b7bd.tar.bz2
GIF: Store transparancy index on the frame.
If the frame has no transparency, it is set to an invalid value.
Diffstat (limited to 'include')
-rw-r--r--include/libnsgif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libnsgif.h b/include/libnsgif.h
index a11c3a5..ae6691c 100644
--- a/include/libnsgif.h
+++ b/include/libnsgif.h
@@ -53,7 +53,7 @@ typedef struct gif_frame {
/** whether we acknoledge transparency */
bool transparency;
/** the index designating a transparent pixel */
- unsigned char transparency_index;
+ unsigned int transparency_index;
/** x co-ordinate of redraw rectangle */
unsigned int redraw_x;
/** y co-ordinate of redraw rectangle */