From 2054391345b9048d9160b06559fe4a15bf888407 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Fri, 6 Jan 2006 02:56:00 +0000 Subject: [project @ 2006-01-06 02:56:00 by rjw] Stop slight tree redraw errors from wrapping of 16-bit units. Pass the data to update URL tree nodes to where applicable. svn path=/import/netsurf/; revision=1988 --- riscos/global_history.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos/global_history.c') diff --git a/riscos/global_history.c b/riscos/global_history.c index e308ae4d6..e87577ef9 100644 --- a/riscos/global_history.c +++ b/riscos/global_history.c @@ -50,7 +50,8 @@ static bool ro_gui_global_history_click(wimp_pointer *pointer); static void ro_gui_global_history_initialise_nodes(void); static void ro_gui_global_history_initialise_node(const char *title, time_t base, int days_back); -struct node *ro_gui_global_history_find(const char *url); +static struct node *ro_gui_global_history_find(const char *url); + /* A basic window for the history */ @@ -372,7 +373,7 @@ void global_history_add(struct url_content *data) { * only the relevant portion */ tree_redraw_area(global_history_tree, 0, 0, 16384, 16384); - tree_update_URL_node(node); + tree_update_URL_node(node, data); tree_delink_node(node); tree_link_node(parent, node, false); tree_handle_node_changed(global_history_tree, -- cgit v1.2.3