summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-11-16 23:30:31 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-11-16 23:30:31 +0000
commite87e37ca80514fccb53523428208d9ed90b6fb78 (patch)
tree0ef6bd846956e00ef62abcbf0fcafe8d452ee996
parent9512022595fde0ae002d2c67e24802edfd4f6a1f (diff)
downloadnetsurf-e87e37ca80514fccb53523428208d9ed90b6fb78.tar.gz
netsurf-e87e37ca80514fccb53523428208d9ed90b6fb78.tar.bz2
[project @ 2004-11-16 23:30:31 by rjw]
Minor fix to hotlist for titles with control characters. svn path=/import/netsurf/; revision=1362
-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);