diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 14:05:56 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 14:13:01 +0100 |
commit | 29f7d13d37022303c5d93ddd2942f6b87959f432 (patch) | |
tree | 0f1eeb4f3778713fe99b34649336aa27ddaf9a71 /pdf/pdf_xobject.c | |
parent | 01e2ccf6ade55cc20e83b80bad81fef6627c9a05 (diff) | |
download | mupdf-29f7d13d37022303c5d93ddd2942f6b87959f432.tar.xz |
Always pass value structs (rect, matrix, etc) as values not by pointer.
Diffstat (limited to 'pdf/pdf_xobject.c')
-rw-r--r-- | pdf/pdf_xobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/pdf_xobject.c b/pdf/pdf_xobject.c index 86b45167..e236edd0 100644 --- a/pdf/pdf_xobject.c +++ b/pdf/pdf_xobject.c @@ -111,7 +111,7 @@ pdf_load_xobject(pdf_document *xref, pdf_obj *dict) } pdf_obj * -pdf_new_xobject(pdf_document *xref, fz_rect *bbox, fz_matrix *mat) +pdf_new_xobject(pdf_document *xref, fz_rect bbox, fz_matrix mat) { int idict_num; pdf_obj *idict = NULL; @@ -185,9 +185,9 @@ pdf_new_xobject(pdf_document *xref, fz_rect *bbox, fz_matrix *mat) form->me = NULL; form->iteration = 0; - form->bbox = *bbox; + form->bbox = bbox; - form->matrix = *mat; + form->matrix = mat; form->isolated = 0; form->knockout = 0; |