RISC OS: Fix hotlist save.

The read and write paths for hotlist are different:

    #define CHOICES_PREFIX "<Choices$Write>.WWW.NetSurf."

    NSOPTION_STRING(hotlist_path, "NetSurf:Hotlist")
    NSOPTION_STRING(hotlist_save, CHOICES_PREFIX "Hotlist")

This switches to using hotlist_save for writing.
This commit is contained in:
Michael Drake 2016-12-29 15:15:41 +00:00
parent 7fc6e6c0c0
commit 7ca75a4cee

View File

@ -583,7 +583,7 @@ nserror ro_gui_hotlist_finalise(void)
return NSERROR_OK;
}
res = hotlist_fini(nsoption_charp(hotlist_path));
res = hotlist_fini(nsoption_charp(hotlist_save));
if (res == NSERROR_OK) {
res = ro_corewindow_fini(&hotlist_window->core);