summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);