From 1490b52a6b96b6a69a0c4fe9e0515dc717425128 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 22 Mar 2012 09:34:34 +0000 Subject: NetSurf options rework (a=vince r=daniels,jmb) svn path=/trunk/netsurf/; revision=13548 --- atari/hotlist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'atari/hotlist.c') 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 )); -- cgit v1.2.3