Update the title when updating the history on reload
svn path=/trunk/netsurf/; revision=2600
This commit is contained in:
parent
1822e9bfd8
commit
f07fce7307
|
@ -283,6 +283,13 @@ void history_update(struct history *history, struct content *content)
|
|||
if (!history || !history->current || !history->current->bitmap)
|
||||
return;
|
||||
|
||||
if (history->current->title)
|
||||
free(history->current->title);
|
||||
if (content->title)
|
||||
history->current->title = strdup(content->title);
|
||||
else
|
||||
history->current->title = 0;
|
||||
|
||||
thumbnail_create(content, history->current->bitmap, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue