diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-06-27 03:58:39 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-06-27 03:58:39 +0000 |
commit | 23ca6c42ea310ce31f3607d6efebd184048250ec (patch) | |
tree | e0a14c5a7d8b6058d4bbb9c1d2aea461e489f52c /Build/source/texk/dvipdfm-x/pdfdoc.c | |
parent | 9b6cf3a9f62f36cd53a437ec9695eb36c23d0696 (diff) |
dvipdfm-x: Simplify the change on 2017-06-25
git-svn-id: svn://tug.org/texlive/trunk@44708 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfdoc.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfdoc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c index 2aba7ab0596..0921924d0bf 100644 --- a/Build/source/texk/dvipdfm-x/pdfdoc.c +++ b/Build/source/texk/dvipdfm-x/pdfdoc.c @@ -1109,18 +1109,7 @@ pdf_doc_get_page (pdf_file *pf, } /* Nasty BBox selection... */ - if (options == 0) { - if (crop_box) - box = crop_box; - else { - if (!(box = media_box) && - !(box = bleed_box) && - !(box = trim_box) && - art_box) { - box = art_box; - } - } - } else if (options == 1) { + if ((options == 0) || (options == 1)) { if (crop_box) box = crop_box; else |