diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-30 07:35:34 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-30 07:35:34 +0000 |
commit | c9c04cd28f14c1e65740d1910d4080240d56c468 (patch) | |
tree | 8504410d8b2987201a5d5f5f64bc1816e2d391d5 /Build/source | |
parent | 632abcdde570001e5f8e7509d630749e73cf2732 (diff) |
texk/dvipdfm-x: pathces by S. Hirata
git-svn-id: svn://tug.org/texlive/trunk@39239 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfdoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfdoc.c b/Build/source/texk/dvipdfm-x/pdfdoc.c index 95e464804cf..2bb5fa38e6e 100644 --- a/Build/source/texk/dvipdfm-x/pdfdoc.c +++ b/Build/source/texk/dvipdfm-x/pdfdoc.c @@ -991,7 +991,7 @@ pdf_doc_get_page (pdf_file *pf, } count = pdf_number_value(tmp); pdf_release_obj(tmp); - if (page_no < 0 || page_no > count) { + if (page_no <= 0 || page_no > count) { WARN("Page %ld does not exist.", page_no); goto error_silent; } |