summaryrefslogtreecommitdiff
path: root/riscos/global_history.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-01-06 02:56:00 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-01-06 02:56:00 +0000
commit2054391345b9048d9160b06559fe4a15bf888407 (patch)
treee47590eab459698ebabc4d1577d0d7dcd29d5792 /riscos/global_history.c
parent71a9ffa7dbf95f5353fadea0650b42062d2a9ad3 (diff)
downloadnetsurf-2054391345b9048d9160b06559fe4a15bf888407.tar.gz
netsurf-2054391345b9048d9160b06559fe4a15bf888407.tar.bz2
[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
Diffstat (limited to 'riscos/global_history.c')
-rw-r--r--riscos/global_history.c5
1 files changed, 3 insertions, 2 deletions
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,