summaryrefslogtreecommitdiff
path: root/jbig2dec/jbig2.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-04-07 00:12:15 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-04-10 13:29:43 +0800
commitd38507b3d62d9d0710b1c5122af5db9730167082 (patch)
treeeaec6b9f487e9a73665fa6dae6ba43cda1a9a757 /jbig2dec/jbig2.h
parentc0f89bd215d700339429da4375a4eaf89445f872 (diff)
downloadghostpdl-d38507b3d62d9d0710b1c5122af5db9730167082.tar.gz
jbig2dec: Fix some cosmetic typos in code/headers/tests.
Diffstat (limited to 'jbig2dec/jbig2.h')
-rw-r--r--jbig2dec/jbig2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/jbig2dec/jbig2.h b/jbig2dec/jbig2.h
index 985a6e346..f03d98d19 100644
--- a/jbig2dec/jbig2.h
+++ b/jbig2dec/jbig2.h
@@ -71,7 +71,7 @@ void jbig2_image_clear(Jbig2Ctx *ctx, Jbig2Image *image, int value);
Jbig2Image *jbig2_image_resize(Jbig2Ctx *ctx, Jbig2Image *image, uint32_t width, uint32_t height);
/* errors are returned from the library via a callback. If no callback
- is provided (a NULL argument is passed ot jbig2_ctx_new) a default
+ is provided (a NULL argument is passed to jbig2_ctx_new) a default
handler is used which prints fatal errors to the stderr stream. */
/* error callback */
@@ -79,7 +79,7 @@ typedef int (*Jbig2ErrorCallback)(void *data, const char *msg, Jbig2Severity sev
/* memory allocation is likewise done via a set of callbacks so that
clients can better control memory usage. If a NULL is passed for
- this argumennt of jbig2_ctx_new, a default allocator based on malloc()
+ this argument of jbig2_ctx_new, a default allocator based on malloc()
is used. */
/* dynamic memory callbacks */