summaryrefslogtreecommitdiff
path: root/source/html/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/handler.c')
-rw-r--r--source/html/handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/handler.c b/source/html/handler.c
index 6b19304b..c3f9c3df 100644
--- a/source/html/handler.c
+++ b/source/html/handler.c
@@ -48,7 +48,7 @@ html_run_page(html_document *doc, html_page *page, fz_device *dev, const fz_matr
{
int n = ((intptr_t)page) - 1;
printf("html: run page %d\n", n);
- html_run_box(doc->ctx, doc->box, n * doc->page_h, dev, ctm);
+ html_run_box(doc->ctx, doc->box, n * doc->page_h, (n+1) * doc->page_h, dev, ctm);
}
html_document *