RISC OS: Update for core hotlist API change.

This commit is contained in:
Michael Drake 2017-04-25 12:13:07 +01:00
parent a137de40a9
commit 0d8ed168b2
2 changed files with 3 additions and 2 deletions

View File

@ -1185,7 +1185,8 @@ static nserror gui_init(int argc, char** argv)
/* Load in visited URLs, Cookies, and hostlist */
urldb_load(nsoption_charp(url_path));
urldb_load_cookies(nsoption_charp(cookie_file));
hotlist_init(nsoption_charp(hotlist_path));
hotlist_init(nsoption_charp(hotlist_path),
nsoption_charp(hotlist_save));
/* Initialise with the wimp */
error = xwimp_initialise(wimp_VERSION_RO38, task_name,

View File

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