diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-01-04 20:06:57 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-01-17 20:24:24 +0100 |
commit | b1085c6816c093409c745a41567c8c3009917e27 (patch) | |
tree | 53404678b5ea5a816528f0e5ebd589a241cab447 /source/pdf/pdf-write.c | |
parent | f45ed2539978f86e9a7fe0185f8bbeec398fb087 (diff) | |
download | mupdf-b1085c6816c093409c745a41567c8c3009917e27.tar.xz |
Fix typos.
Diffstat (limited to 'source/pdf/pdf-write.c')
-rw-r--r-- | source/pdf/pdf-write.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index 94379f4e..7602e0c9 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -246,7 +246,7 @@ page_objects_sort(fz_context *ctx, page_objects *po) /* If both are in the page_objects, pick the larger one */ if (k < i-1 && po->object[k] < po->object[k+1]) k++; - /* If j is bigger than k (i.e. both of it's children), + /* If j is bigger than k (i.e. both of its children), * we're done */ if (po->object[j] > po->object[k]) break; @@ -411,7 +411,7 @@ heap_sort(int *list, int n, const int *val, int (*ge)(int, int)) /* If both are in the page_objects, pick the larger one */ if (k < i-1 && ge(val[list[k+1]], val[list[k]])) k++; - /* If j is bigger than k (i.e. both of it's children), + /* If j is bigger than k (i.e. both of its children), * we're done */ if (ge(val[list[j]], val[list[k]])) break; @@ -1610,7 +1610,7 @@ static fz_buffer *deflatebuf(fz_context *ctx, unsigned char *p, size_t n) size_t cap; if (n != (size_t)longN) - fz_throw(ctx, FZ_ERROR_GENERIC, "Buffer to large to deflate"); + fz_throw(ctx, FZ_ERROR_GENERIC, "Buffer too large to deflate"); cap = compressBound(longN); data = fz_malloc(ctx, cap); @@ -3041,7 +3041,7 @@ void pdf_write_document(fz_context *ctx, pdf_document *doc, fz_output *out, pdf_ if (in_opts->do_incremental && in_opts->do_linear) fz_throw(ctx, FZ_ERROR_GENERIC, "Can't do incremental writes with linearisation"); if (pdf_has_unsaved_sigs(ctx, doc)) - fz_throw(ctx, FZ_ERROR_GENERIC, "Can't write pdf that has unsaved sigs to an fz_output!"); + fz_throw(ctx, FZ_ERROR_GENERIC, "Can't write pdf that has unsaved sigs to a fz_output!"); prepare_for_save(ctx, doc, in_opts); |