summaryrefslogtreecommitdiff
path: root/desktop/history_global_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/history_global_core.c')
-rw-r--r--desktop/history_global_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c
index f06d79d8b..a73bd7c2b 100644
--- a/desktop/history_global_core.c
+++ b/desktop/history_global_core.c
@@ -146,7 +146,7 @@ static bool global_history_add_internal(const char *url,
node = history_global_find(url);
if (node != NULL) {
tree_update_URL_node(global_history_tree,
- node, url, data, true);
+ node, url, data);
tree_delink_node(global_history_tree, node);
tree_link_node(global_history_tree, parent, node,
false);
@@ -155,7 +155,7 @@ static bool global_history_add_internal(const char *url,
}
/* Add the node at the bottom */
- node = tree_create_URL_node_shared(global_history_tree,
+ node = tree_create_URL_node_readonly(global_history_tree,
parent, url, data,
tree_url_node_callback, NULL);