From aed81aa91750769bdea8881a1f56c25b7ba1b5b5 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Apr 2004 18:07:44 +0000 Subject: [project @ 2004-04-04 18:07:44 by jmb] Add pointer to containing content struct to box_selection and update box_under_area accordingly This ensures relative links in frames etc. are url_joined correctly. svn path=/import/netsurf/; revision=721 --- riscos/gui.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/gui.c b/riscos/gui.c index 6e750d996..169e81bf0 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -899,7 +899,8 @@ void ro_msg_datasave(wimp_message* block) click_boxes = NULL; plot_index = 0; - box_under_area(bw->current_content->data.html.layout->children, + box_under_area(bw->current_content, + bw->current_content->data.html.layout->children, (unsigned int)x, (unsigned int)y, 0, 0, &click_boxes, &found, &plot_index); @@ -1068,7 +1069,8 @@ void ro_msg_dataload(wimp_message *message) click_boxes = NULL; plot_index = 0; - box_under_area(bw->current_content->data.html.layout->children, + box_under_area(bw->current_content, + bw->current_content->data.html.layout->children, (unsigned int)x, (unsigned int)y, 0, 0, &click_boxes, &found, &plot_index); -- cgit v1.2.3