summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/print.c6
-rw-r--r--riscos/window.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/riscos/print.c b/riscos/print.c
index c18269754..ef2a507af 100644
--- a/riscos/print.c
+++ b/riscos/print.c
@@ -588,7 +588,7 @@ bool print_document(struct gui_window *g, const char *filename)
saved_width = content_get_width(h);
saved_height = content_get_height(h);
if (content_get_type(h) == CONTENT_HTML)
- content_reformat(h, width, height);
+ content_reformat(h, false, width, height);
/* open printer file */
error = xosfind_openoutw(osfind_NO_PATH | osfind_ERROR_IF_DIR |
@@ -758,7 +758,7 @@ bool print_document(struct gui_window *g, const char *filename)
/* restore document layout and redraw browser window */
if (content_get_type(h) == CONTENT_HTML)
- content_reformat(h, saved_width, saved_height);
+ content_reformat(h, false, saved_width, saved_height);
gui_window_redraw_window(g);
@@ -778,7 +778,7 @@ error:
/* restore document layout */
if (content_get_type(h) == CONTENT_HTML)
- content_reformat(h, saved_width, saved_height);
+ content_reformat(h, false, saved_width, saved_height);
return false;
}
diff --git a/riscos/window.c b/riscos/window.c
index 4fd5be9fa..389cfce1a 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -4426,7 +4426,7 @@ void ro_gui_window_process_reformats(void)
if (!g->bw->reformat_pending)
continue;
g->bw->reformat_pending = false;
- browser_window_reformat(g->bw,
+ browser_window_reformat(g->bw, false,
g->old_width / 2,
g->old_height / 2);
}