diff options
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) |