Saving hotlist immedaitely after adding now saves it to the correct file

svn path=/trunk/netsurf/; revision=6093
This commit is contained in:
Chris Young 2009-01-16 19:16:32 +00:00
parent af7f83b9a5
commit ff6cfea10e

View File

@ -600,7 +600,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item)
{
case 0: // add
ami_hotlist_add(hotlist->root,gwin->bw->current_content);
options_save_tree(hotlist,"Resources/Hotlist","NetSurf hotlist");
options_save_tree(hotlist,option_hotlist_file,messages_get("TreeHotlist"));
break;
case 1: // show