summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-11-05 12:20:35 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2021-11-05 12:20:35 +0000
commit1b0c8759f5d96e96ded4cb50bb2772103780e2eb (patch)
treee38f004c29694fbcf117042dd309e5395ff15022 /include
parentd1762afcee8b6541a974eeb37edea2a828096b8a (diff)
downloadlibnsgif-1b0c8759f5d96e96ded4cb50bb2772103780e2eb.tar.gz
libnsgif-1b0c8759f5d96e96ded4cb50bb2772103780e2eb.tar.bz2
API: Fix typos in public header.
Diffstat (limited to 'include')
-rw-r--r--include/libnsgif.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libnsgif.h b/include/libnsgif.h
index adbacbe..3087a4d 100644
--- a/include/libnsgif.h
+++ b/include/libnsgif.h
@@ -46,11 +46,11 @@ typedef struct gif_frame {
bool virgin;
/** whether the frame is totally opaque */
bool opaque;
- /** whether a forcable screen redraw is required */
+ /** whether a full image redraw is required */
bool redraw_required;
/** how the previous frame should be disposed; affects plotting */
unsigned char disposal_method;
- /** whether we acknoledge transparency */
+ /** whether we acknowledge transparency */
bool transparency;
/** the index designating a transparent pixel */
unsigned int transparency_index;
@@ -89,7 +89,7 @@ typedef struct gif_bitmap_callback_vt {
gif_bitmap_cb_set_opaque bitmap_set_opaque;
/** Tests whether a bitmap has an opaque alpha channel. */
gif_bitmap_cb_test_opaque bitmap_test_opaque;
- /** The bitmap image has changed, so flush any persistant cache. */
+ /** The bitmap image has changed, so flush any persistent cache. */
gif_bitmap_cb_modified bitmap_modified;
} gif_bitmap_callback_vt;
@@ -103,7 +103,7 @@ typedef struct gif_animation {
const uint8_t *gif_data;
/** width of GIF (may increase during decoding) */
unsigned int width;
- /** heigth of GIF (may increase during decoding) */
+ /** height of GIF (may increase during decoding) */
unsigned int height;
/** number of frames decoded */
unsigned int frame_count;