summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
commit1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch)
tree8caba44a9da98e6cebf4f188e3232534b1596a4d /desktop/netsurf.c
parent0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff)
downloadnetsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz
netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 698606da1..7d498b50a 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -167,12 +167,12 @@ nserror netsurf_init(int *pargc,
utsname.version, utsname.machine));
LOG(("Using '%s' for Options file", options));
- options_read(options);
+ nsoption_read(options);
messages_load(messages);
/* set up cache limits based on the memory cache size option */
- hlcache_parameters.limit = option_memory_cache_size;
+ hlcache_parameters.limit = nsoption_int(memory_cache_size);
if (hlcache_parameters.limit < MINIMUM_MEMORY_CACHE_SIZE) {
hlcache_parameters.limit = MINIMUM_MEMORY_CACHE_SIZE;
@@ -228,7 +228,7 @@ nserror netsurf_init(int *pargc,
/* Initialize system colours */
gui_system_colour_init();
- options_commandline(pargc, *pargv);
+ nsoption_commandline(pargc, *pargv);
js_initialise();