summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-02-08 00:21:20 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-02-08 00:21:20 +0000
commite2bb4aa4e01f0e3b6c4134081bd9a9bbcfe2e757 (patch)
treedb8ab395ca8ae581147894790174f80958d5232d /riscos/window.c
parentb75a3960fc4701607189ec9d4fd6ce06e30d16e9 (diff)
downloadnetsurf-e2bb4aa4e01f0e3b6c4134081bd9a9bbcfe2e757.tar.gz
netsurf-e2bb4aa4e01f0e3b6c4134081bd9a9bbcfe2e757.tar.bz2
Fix bug #3479239: scroll in correct direction for page left/page right
svn path=/trunk/netsurf/; revision=13435
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 89d99261c..7674419d7 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -3160,10 +3160,10 @@ void ro_gui_window_scroll_action(struct gui_window *g,
state.xscroll += 0x10000000;
break;
case SCROLL_PAGE_UP:
- state.xscroll -= visible_x;
+ state.xscroll += visible_x;
break;
case SCROLL_PAGE_DOWN:
- state.xscroll += visible_x;
+ state.xscroll -= visible_x;
break;
default:
state.xscroll += 2 * step_x;