summaryrefslogtreecommitdiff
path: root/windows
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 /windows
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 'windows')
-rw-r--r--windows/prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/prefs.c b/windows/prefs.c
index 360a54011..93a30b00f 100644
--- a/windows/prefs.c
+++ b/windows/prefs.c
@@ -583,7 +583,7 @@ static BOOL CALLBACK options_general_dialog_handler(HWND hwnd,
/* advert blocking */
sub = GetDlgItem(hwnd, IDC_PREFS_ADVERTS);
SendMessage(sub, BM_SETCHECK,
- (WPARAM) ((nsoption_bool(block_ads)) ?
+ (WPARAM) ((nsoption_bool(block_advertisements)) ?
BST_CHECKED : BST_UNCHECKED), 0);
/* Referrer sending */
@@ -615,7 +615,7 @@ static BOOL CALLBACK options_general_dialog_handler(HWND hwnd,
nsoption_set_bool(suppress_images,
(IsDlgButtonChecked(hwnd, IDC_PREFS_IMAGES) == BST_CHECKED) ? true : false);
- nsoption_set_bool(block_ads, (IsDlgButtonChecked(hwnd,
+ nsoption_set_bool(block_advertisements, (IsDlgButtonChecked(hwnd,
IDC_PREFS_ADVERTS) == BST_CHECKED) ? true : false);
nsoption_set_bool(send_referer, (IsDlgButtonChecked(hwnd,