summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/global_history.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}