diff options
author | Steve Fryatt <stevef@netsurf-browser.org> | 2014-06-09 22:51:14 +0100 |
---|---|---|
committer | Steve Fryatt <stevef@netsurf-browser.org> | 2014-06-09 22:51:14 +0100 |
commit | 68146fc711f42de9c1a17c128f2ee0c136673be2 (patch) | |
tree | f6cdc660d7b3e4407fa457e7fc332b37b02c5c45 /amiga/gui_options.c | |
parent | cc1d5477ab32c544c915ffad880642f399e1a910 (diff) | |
parent | f6fec1a8d767a71debb94531a0f86e3790bce24f (diff) | |
download | netsurf-68146fc711f42de9c1a17c128f2ee0c136673be2.tar.gz netsurf-68146fc711f42de9c1a17c128f2ee0c136673be2.tar.bz2 |
Merge branch 'master' into stevef/cconfig
Diffstat (limited to 'amiga/gui_options.c')
-rwxr-xr-x | amiga/gui_options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/gui_options.c b/amiga/gui_options.c index 0b01a93d4..3a6451b97 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -1157,7 +1157,7 @@ void ami_gui_opts_open(void) LAYOUT_AddChild, gow->objects[GID_OPTS_CACHE_DISC] = IntegerObject, GA_ID, GID_OPTS_CACHE_DISC, GA_RelVerify, TRUE, - INTEGER_Number, nsoption_int(disc_cache_size) / 1048576, + INTEGER_Number, nsoption_uint(disc_cache_size) / 1048576, INTEGER_Minimum, 0, INTEGER_Maximum, 4096, INTEGER_Arrows, TRUE, @@ -1750,8 +1750,8 @@ void ami_gui_opts_use(bool save) GetAttr(INTEGER_Number,gow->objects[GID_OPTS_CACHE_MEM],(ULONG *)&nsoption_int(memory_cache_size)); nsoption_set_int(memory_cache_size, nsoption_int(memory_cache_size) * 1048576); - GetAttr(INTEGER_Number,gow->objects[GID_OPTS_CACHE_DISC],(ULONG *)&nsoption_int(disc_cache_size)); - nsoption_set_int(disc_cache_size, nsoption_int(disc_cache_size) * 1048576); + GetAttr(INTEGER_Number,gow->objects[GID_OPTS_CACHE_DISC],(ULONG *)&nsoption_uint(disc_cache_size)); + nsoption_set_uint(disc_cache_size, nsoption_uint(disc_cache_size) * 1048576); GetAttr(GA_Selected,gow->objects[GID_OPTS_OVERWRITE],(ULONG *)&data); if (data) { |