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.
This commit is contained in:
Michael Drake 2016-12-29 12:00:03 +00:00
parent 07456db2dc
commit 16b8d524e8

View File

@ -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;
}