From e87e37ca80514fccb53523428208d9ed90b6fb78 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 16 Nov 2004 23:30:31 +0000 Subject: [project @ 2004-11-16 23:30:31 by rjw] Minor fix to hotlist for titles with control characters. svn path=/import/netsurf/; revision=1362 --- riscos/hotlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/hotlist.c') 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); -- cgit v1.2.3