summaryrefslogtreecommitdiff
path: root/riscos/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/search.c')
-rw-r--r--riscos/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/search.c b/riscos/search.c
index 781a43f63..73e495b6a 100644
--- a/riscos/search.c
+++ b/riscos/search.c
@@ -238,7 +238,7 @@ void do_search(char *string, bool from_top, bool case_sens, bool forwards)
if (c->type != CONTENT_HTML)
return;
- box = c->data.html.layout->children;
+ box = c->data.html.layout;
if (!box)
return;