summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2005-03-20 22:50:29 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2005-03-20 22:50:29 +0000
commitb718ee9158b11e7ceee322ad9c30962304d6713f (patch)
tree2be56553db32162c7f5661797dc8941d98a664df
parentf3b7d06f2aa288054cd50b682adc866cc3380c57 (diff)
downloadnetsurf-b718ee9158b11e7ceee322ad9c30962304d6713f.tar.gz
netsurf-b718ee9158b11e7ceee322ad9c30962304d6713f.tar.bz2
[project @ 2005-03-20 22:50:29 by rjw]
Trees now use content title rather than gui_window title. svn path=/import/netsurf/; revision=1562
-rw-r--r--riscos/global_history.c2
-rw-r--r--riscos/window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/riscos/global_history.c b/riscos/global_history.c
index c0ee1ac9e..2dbd9410d 100644
--- a/riscos/global_history.c
+++ b/riscos/global_history.c
@@ -393,7 +393,7 @@ void global_history_add(struct gui_window *g) {
if ((!g->bw->current_content) || (!global_history_tree))
return;
- ro_gui_global_history_add(g->title, g->bw->current_content->url, time(NULL),
+ ro_gui_global_history_add(g->bw->current_content->title, g->bw->current_content->url, time(NULL),
ro_content_filetype(g->bw->current_content));
}
diff --git a/riscos/window.c b/riscos/window.c
index cbfdcd326..0c8e66e71 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1278,7 +1278,7 @@ void ro_gui_toolbar_click(struct gui_window *g, wimp_pointer *pointer)
case ICON_TOOLBAR_BOOKMARK:
if ((pointer->buttons == wimp_CLICK_ADJUST) && (hotlist_tree)) {
node = tree_create_URL_node(hotlist_tree->root,
- g->title,
+ g->bw->current_content->title,
g->bw->current_content->url,
ro_content_filetype(g->bw->current_content),
time(NULL), -1, 0);