summaryrefslogtreecommitdiff
path: root/source/fitz/xml.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-02-13 15:59:54 +0100
committerSebastian Rasmussen <sebras@gmail.com>2018-02-13 18:22:16 +0100
commit5b8ce880027d37aa57ad387134303d160b19ee81 (patch)
treeebe4b41b13299b26ba6bebcbeb25b83f6e6616dd /source/fitz/xml.c
parent36cfeaf99bbf6f9431cb55ab9f04a67a491299c1 (diff)
downloadmupdf-5b8ce880027d37aa57ad387134303d160b19ee81.tar.xz
Avoid revisiting the same page tree node repeatedly.
Only attempt to progress to new page tree nodes if a new node to process has actually been found. Previously if e.g. doc.findPage(1) was called in murun for a single page document the error message was "cycle in page tree" because the single page tree node was visited twice. Now the error message is "cannot find page 1 in page tree", which is more accurate.
Diffstat (limited to 'source/fitz/xml.c')
0 files changed, 0 insertions, 0 deletions