Skip to content

Commit 2a861d7

Browse files
committed
Check pages array before finding the first N-up page (Issue #539)
1 parent 39fa2e6 commit 2a861d7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ v1.9.21 (YYYY-MM-DD)
77
- Update HTTP/HTTPS connection error reporting to include the reason.
88
- Updated markdown parser.
99
- Fixed a bug in the new PDF link code (Issue #536)
10+
- Fixed a bug in the number-up code (Issue #539)
1011

1112

1213
v1.9.20 (2024-12-09)

htmldoc/ps-pdf.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7644,6 +7644,7 @@ parse_comment(tree_t *t, /* I - Tree to parse */
76447644
{
76457645
// NEW SHEET breaks to the next side/sheet...
76467646
(*page) ++;
7647+
check_pages(*page);
76477648

76487649
for (i = *page - 1; i >= 0; i --)
76497650
if (pages[i].nup != NumberUp)

0 commit comments

Comments
 (0)