diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-08-20 14:51:13 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-08-21 10:53:45 +0800 |
commit | 269f40b7e103521f9b93a9e9d8ea61577fb3fbdf (patch) | |
tree | 8bf185f77cd860089e82b12e90db7a62069c7029 | |
parent | db4b628f82239cc5ee7f3759ec23e6e3f0cc9f54 (diff) | |
download | mupdf-269f40b7e103521f9b93a9e9d8ea61577fb3fbdf.tar.xz |
Fix typo in document creation macro.
-rw-r--r-- | include/mupdf/fitz/document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/document.h b/include/mupdf/fitz/document.h index b3ae4601..9a64db47 100644 --- a/include/mupdf/fitz/document.h +++ b/include/mupdf/fitz/document.h @@ -150,7 +150,7 @@ fz_document *fz_open_document_with_stream(fz_context *ctx, const char *magic, fz */ void *fz_new_document_of_size(fz_context *ctx, int size); -#define fz_new_document(C,M) ((M*)Memento_label(fz_new_document_of_size(ctx, sizeof(M)), #M)) +#define fz_new_document(C,M) ((M*)Memento_label(fz_new_document_of_size(C, sizeof(M)), #M)) /* fz_keep_document: Keep a reference to an open document. |