mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
[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:
parent
9512022595
commit
e87e37ca80
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user