From 16b8d524e89e575230a46746bb117bc7f2a4f265 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 29 Dec 2016 12:00:03 +0000 Subject: 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. --- frontends/riscos/dialog.c | 5 ++--- 1 file 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("", 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; } -- cgit v1.2.3