summaryrefslogtreecommitdiff
path: root/riscos/dialog.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-12 17:43:37 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-12 17:43:37 +0000
commit0ebbc1330c4881dcbe2db1bc10dcf9ba1d3b915c (patch)
tree1388fcc6e29dcbb53b84117627dc2f8e0a2a491e /riscos/dialog.c
parentbdbd46584f9a1342da4972e557bd5a08bf0b5cb7 (diff)
downloadnetsurf-0ebbc1330c4881dcbe2db1bc10dcf9ba1d3b915c.tar.gz
netsurf-0ebbc1330c4881dcbe2db1bc10dcf9ba1d3b915c.tar.bz2
[project @ 2004-06-12 17:43:37 by bursa]
Fix limit zooming by ^Q / ^W. Increase limit to 1000. svn path=/import/netsurf/; revision=967
Diffstat (limited to 'riscos/dialog.c')
-rw-r--r--riscos/dialog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/dialog.c b/riscos/dialog.c
index 47c279515..74af5d21c 100644
--- a/riscos/dialog.c
+++ b/riscos/dialog.c
@@ -626,7 +626,8 @@ void ro_gui_dialog_click_zoom(wimp_pointer *pointer)
/* Adjust moves values the opposite direction
*/
- if (pointer->buttons == wimp_CLICK_ADJUST) stepping = -stepping;
+ if (pointer->buttons == wimp_CLICK_ADJUST)
+ stepping = -stepping;
switch (pointer->i) {
case ICON_ZOOM_DEC: scale -= stepping; break;
@@ -639,8 +640,8 @@ void ro_gui_dialog_click_zoom(wimp_pointer *pointer)
if (scale < 10)
scale = 10;
- else if (500 < scale)
- scale = 500;
+ else if (1000 < scale)
+ scale = 1000;
ro_gui_set_icon_integer(dialog_zoom, ICON_ZOOM_VALUE, scale);
if (pointer->i == ICON_ZOOM_OK) {