diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-01-30 16:14:24 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-01-31 11:57:00 +0100 |
commit | 43e6a76ff86747501b77f2e485bdfcd8c067fb8f (patch) | |
tree | a74407012dd8867f58d307212096920cfc1c642b /source/pdf/pdf-js.c | |
parent | e4b3a9d4c74272d421492b4967c6190cf26f8a73 (diff) | |
download | mupdf-43e6a76ff86747501b77f2e485bdfcd8c067fb8f.tar.xz |
Use convenience pdf dictionary/array creation functions.
Diffstat (limited to 'source/pdf/pdf-js.c')
-rw-r--r-- | source/pdf/pdf-js.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-js.c b/source/pdf/pdf-js.c index 5b1fb670..82018065 100644 --- a/source/pdf/pdf-js.c +++ b/source/pdf/pdf-js.c @@ -228,7 +228,7 @@ static pdf_obj *load_color(pdf_js *js, int idx) c = js_tonumber(J, -1); js_pop(J, 1); - pdf_array_push_drop(ctx, color, pdf_new_real(ctx, doc, c)); + pdf_array_push_real(ctx, color, c); } } fz_catch(ctx) |