[project @ 2004-11-16 23:30:31 by rjw]

Minor fix to hotlist for titles with control characters.

svn path=/import/netsurf/; revision=1362
This commit is contained in:
Richard Wilson 2004-11-16 23:30:31 +00:00
parent 9512022595
commit e87e37ca80
1 changed files with 1 additions and 1 deletions

View File

@ -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);