summaryrefslogtreecommitdiff
path: root/riscos/window.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 /riscos/window.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 'riscos/window.c')
-rw-r--r--riscos/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c
index e7b3699b7..772a0d1b1 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -521,7 +521,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
/* Add in a toolbar and status bar */
g->status_bar = ro_gui_status_bar_create(g->window,
- nsoption_int(toolbar_status_width));
+ nsoption_int(toolbar_status_size));
g->toolbar = ro_toolbar_create(NULL, g->window,
THEME_STYLE_BROWSER_TOOLBAR, TOOLBAR_FLAGS_NONE,
&ro_gui_window_toolbar_callbacks, g,
@@ -4712,7 +4712,7 @@ void ro_gui_window_default_options(struct browser_window *bw)
ro_toolbar_get_display_throbber(gui->toolbar));
}
if (gui->status_bar != NULL)
- nsoption_set_int(toolbar_status_width,
+ nsoption_set_int(toolbar_status_size,
ro_gui_status_bar_get_width(gui->status_bar));
}