From e2bb4aa4e01f0e3b6c4134081bd9a9bbcfe2e757 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 8 Feb 2012 00:21:20 +0000 Subject: Fix bug #3479239: scroll in correct direction for page left/page right svn path=/trunk/netsurf/; revision=13435 --- riscos/window.c | 4 ++-- 1 file 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; -- cgit v1.2.3