summaryrefslogtreecommitdiff
path: root/amiga/gui_options.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-05-27 14:18:01 +0100
committerVincent Sanders <vince@netsurf-browser.org>2013-05-28 14:16:11 +0100
commit63d7247a9cace6cc729441508c0cfd82f043ff4d (patch)
treea8c599193d94b3a0267c84b9b2d1ad32c08c0505 /amiga/gui_options.c
parent4ae69da5ea4eb2791af6a09edc6dfaedada6d325 (diff)
downloadnetsurf-63d7247a9cace6cc729441508c0cfd82f043ff4d.tar.gz
netsurf-63d7247a9cace6cc729441508c0cfd82f043ff4d.tar.bz2
fix mismatched option name and variable names
block_ads should be block_advertisments to match option name toolbar_status_width should be toolbar_status_size to match option name
Diffstat (limited to 'amiga/gui_options.c')
-rwxr-xr-xamiga/gui_options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/gui_options.c b/amiga/gui_options.c
index bd37acd1e..102036ded 100755
--- a/amiga/gui_options.c
+++ b/amiga/gui_options.c
@@ -579,7 +579,7 @@ void ami_gui_opts_open(void)
GA_ID, GID_OPTS_HIDEADS,
GA_RelVerify, TRUE,
GA_Text, gadlab[GID_OPTS_HIDEADS],
- GA_Selected, nsoption_bool(block_ads),
+ GA_Selected, nsoption_bool(block_advertisements),
CheckBoxEnd,
LayoutEnd, // content blocking
LAYOUT_AddChild,VGroupObject,
@@ -1531,9 +1531,9 @@ void ami_gui_opts_use(bool save)
GetAttr(GA_Selected,gow->objects[GID_OPTS_HIDEADS],(ULONG *)&data);
if (data) {
- nsoption_set_bool(block_ads, true);
+ nsoption_set_bool(block_advertisements, true);
} else {
- nsoption_set_bool(block_ads, false);
+ nsoption_set_bool(block_advertisements, false);
}
GetAttr(INTEGER_Number,gow->objects[GID_OPTS_HISTORY],(ULONG *)&nsoption_int(expire_url));