From d453fa3206c719e1f4c18b5cedf5d6a278095e93 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 12 Apr 2006 08:10:05 +0000 Subject: Fix global history tree corruption svn path=/trunk/netsurf/; revision=2525 --- riscos/global_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos') diff --git a/riscos/global_history.c b/riscos/global_history.c index a15d4431d..5db03dc5d 100644 --- a/riscos/global_history.c +++ b/riscos/global_history.c @@ -363,7 +363,7 @@ struct node *ro_gui_global_history_find(const char *url) node; node = node->next) { element = tree_find_element(node, TREE_ELEMENT_URL); - if ((element) && (url == element->text)) + if ((element) && !strcmp(url, element->text)) return node; } } -- cgit v1.2.3