summaryrefslogtreecommitdiff
path: root/gtk/gui.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 /gtk/gui.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 'gtk/gui.c')
-rw-r--r--gtk/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gui.c b/gtk/gui.c
index 3408bb9ac..657770db6 100644
--- a/gtk/gui.c
+++ b/gtk/gui.c
@@ -292,8 +292,8 @@ static void check_options(char **respath)
* The GTK front end now correctly uses it as a proportion of window
* width. Here we assume that a value of less than 15% is wrong
* and set to the default two thirds. */
- if (nsoption_int(toolbar_status_width) < 1500) {
- nsoption_set_int(toolbar_status_width, 6667);
+ if (nsoption_int(toolbar_status_size) < 1500) {
+ nsoption_set_int(toolbar_status_size, 6667);
}
/* user options should be stored in the users home directory */