diff options
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c index fe3488709..7e7062df9 100644 --- a/render/html.c +++ b/render/html.c @@ -338,7 +338,7 @@ bool html_convert(struct content *c, int width, int height) content_set_status(c, messages_get("Formatting")); content_broadcast(c, CONTENT_MSG_STATUS, msg_data); LOG(("Layout document")); - layout_document(c, width); + layout_document(c, width, height); /*box_dump(c->data.html.layout->children, 0);*/ c->width = c->data.html.layout->descendant_x1; c->height = c->data.html.layout->descendant_y1; @@ -1126,7 +1126,7 @@ void html_stop(struct content *c) void html_reformat(struct content *c, int width, int height) { - layout_document(c, width); + layout_document(c, width, height); c->width = c->data.html.layout->descendant_x1; c->height = c->data.html.layout->descendant_y1; } |