diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-12-29 12:00:03 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-12-29 12:00:03 +0000 |
commit | 16b8d524e89e575230a46746bb117bc7f2a4f265 (patch) | |
tree | b40a5c3a4942812b9923c226313d30ef204b9805 | |
parent | 07456db2dc6fc59a952e0160cb03ba494a05e05d (diff) | |
download | netsurf-16b8d524e89e575230a46746bb117bc7f2a4f265.tar.gz netsurf-16b8d524e89e575230a46746bb117bc7f2a4f265.tar.bz2 |
RISC OS: Squash unused variable.
This has been redundant since frames were moved into the core.
The all frames checkbox should be removed from the scale dialogue.
-rw-r--r-- | frontends/riscos/dialog.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/riscos/dialog.c b/frontends/riscos/dialog.c index 94c62354b..18df1bfe4 100644 --- a/frontends/riscos/dialog.c +++ b/frontends/riscos/dialog.c @@ -646,12 +646,11 @@ void ro_gui_save_options(void) nsoption_write("<NetSurf$ChoicesSave>", NULL, NULL); } -bool ro_gui_dialog_zoom_apply(wimp_w w) { +bool ro_gui_dialog_zoom_apply(wimp_w w) +{ unsigned int scale; - bool all; scale = atoi(ro_gui_get_icon_string(w, ICON_ZOOM_VALUE)); - all = ro_gui_get_icon_selected_state(w, ICON_ZOOM_FRAMES); ro_gui_window_set_scale(ro_gui_current_zoom_gui, scale * 0.01); return true; } |