diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 22:25:39 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-08 22:25:39 +0200 |
commit | 42e89d924112d0aea66245f46b8a25ab120c44da (patch) | |
tree | 094892cdaf9f1087599aa9b6bd53b052015d54a5 /pdf/pdf_colorspace.c | |
parent | ae039a6b71fb9afddd29cf289e0f9a2be23803c5 (diff) | |
download | mupdf-42e89d924112d0aea66245f46b8a25ab120c44da.tar.xz |
Simplify arguments to fz_new_pixmap.
Diffstat (limited to 'pdf/pdf_colorspace.c')
-rw-r--r-- | pdf/pdf_colorspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c index a7b04166..b7ea51a3 100644 --- a/pdf/pdf_colorspace.c +++ b/pdf/pdf_colorspace.c @@ -183,7 +183,7 @@ pdf_expand_indexed_pixmap(fz_pixmap *src) lookup = idx->lookup; n = idx->base->n; - dst = fz_new_pixmap(idx->base, src->x, src->y, src->w, src->h); + dst = fz_new_pixmap_with_rect(idx->base, fz_bound_pixmap(src)); s = src->samples; d = dst->samples; |