Set the newly-created hotlist dirs to be "retain in memory" otherwise NetSurf crashes on hotlist cleanup.

This commit is contained in:
Chris Young 2012-12-01 15:54:32 +00:00
parent c88c4fa214
commit 22fbe5abfc

View File

@ -45,12 +45,12 @@ void ami_hotlist_add_default_dirs(struct tree *tree)
{
if(ami_hotlist_find_dir(tree, messages_get("HotlistMenu")) == false) {
tree_create_folder_node(tree, tree_get_root(tree),
messages_get("HotlistMenu"), true, false, false);
messages_get("HotlistMenu"), true, true, false);
}
if(ami_hotlist_find_dir(tree, messages_get("HotlistToolbar")) == false) {
tree_create_folder_node(tree, tree_get_root(tree),
messages_get("HotlistToolbar"), true, false, false);
messages_get("HotlistToolbar"), true, true, false);
}
}