summaryrefslogtreecommitdiff
path: root/riscos/hotlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/hotlist.c')
-rw-r--r--riscos/hotlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/hotlist.c b/riscos/hotlist.c
index ab632fd43..021c5c365 100644
--- a/riscos/hotlist.c
+++ b/riscos/hotlist.c
@@ -932,7 +932,7 @@ struct hotlist_entry *ro_gui_hotlist_create_entry(const char *title,
return NULL;
}
if (title) {
- entry->title = strdup(title);
+ entry->title = squash_whitespace(title);
if (!entry->title) {
warn_user("NoMemory", 0);
free(entry->url);