diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
commit | 1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch) | |
tree | 8caba44a9da98e6cebf4f188e3232534b1596a4d /atari/hotlist.c | |
parent | 0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff) | |
download | netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2 |
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'atari/hotlist.c')
-rwxr-xr-x | atari/hotlist.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c index 067d9c123..89c06c7fc 100755 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -41,7 +41,6 @@ #include "atari/hotlist.h" #include "atari/findfile.h" #include "atari/res/netsurf.rsh" -#include "atari/options.h" struct atari_hotlist hl; @@ -86,10 +85,10 @@ static void __CDECL evnt_hl_mbutton( WINDOW *win, short buff[8] ) void hotlist_init(void) { - if( strcmp(option_hotlist_file, "") == 0 ){ + if( strcmp(nsoption_charp(hotlist_file), "") == 0 ){ atari_find_resource( (char*)&hl.path, "hotlist", "hotlist" ); } else { - strncpy( (char*)&hl.path, option_hotlist_file, PATH_MAX-1 ); + strncpy( (char*)&hl.path, nsoption_charp(hotlist_file), PATH_MAX-1 ); } LOG(("Hotlist: %s", (char*)&hl.path )); |