diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-27 14:18:01 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2013-05-28 14:16:11 +0100 |
commit | 63d7247a9cace6cc729441508c0cfd82f043ff4d (patch) | |
tree | a8c599193d94b3a0267c84b9b2d1ad32c08c0505 /gtk/window.c | |
parent | 4ae69da5ea4eb2791af6a09edc6dfaedada6d325 (diff) | |
download | netsurf-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/window.c')
-rw-r--r-- | gtk/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/window.c b/gtk/window.c index 44b88d241..5edace8f3 100644 --- a/gtk/window.c +++ b/gtk/window.c @@ -593,12 +593,12 @@ static gboolean nsgtk_window_size_allocate_event(GtkWidget *widget, if (g->paned != NULL) { /* Set status bar / scroll bar proportion according to - * option_toolbar_status_width */ + * option_toolbar_status_size */ /* TODO: Probably want to detect when the user adjusts the * status bar width, remember that proportion for the * window, and use that here. */ gtk_paned_set_position(g->paned, - (nsoption_int(toolbar_status_width) * + (nsoption_int(toolbar_status_size) * allocation->width) / 10000); } |