From 5a4c8916efe2449f2cf43bef2f7746dd53469046 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 24 Jun 2011 09:30:33 +0000 Subject: If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497 --- riscos/print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/print.c') 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; } -- cgit v1.2.3