summaryrefslogtreecommitdiff
path: root/riscos/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/print.c')
-rw-r--r--riscos/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/print.c b/riscos/print.c
index 336863a7c..ed77d0c97 100644
--- a/riscos/print.c
+++ b/riscos/print.c
@@ -490,7 +490,7 @@ void print_document(struct gui_window *g, const char *filename)
LOG(("Printing page (%d)", print_max_sheets));
if (c->type == CONTENT_HTML)
- box = c->data.html.layout->children;
+ box = c->data.html.layout;
/* Read Printer Driver Features */
e = xpdriver_info(0, 0, 0, &features, 0, 0, 0, 0);