summaryrefslogtreecommitdiff
path: root/atari/rootwin.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-04-11 00:46:39 +0200
committerOle Loots <ole@monochrom.net>2013-04-11 00:46:39 +0200
commit1d92bf87e5e65277a50c8df077bad3962bba0461 (patch)
tree492d2b56346b620c561565032a923325903421e3 /atari/rootwin.c
parent3fa929938bbb151d9dbc048d2424c7b2dd90a5ce (diff)
downloadnetsurf-1d92bf87e5e65277a50c8df077bad3962bba0461.tar.gz
netsurf-1d92bf87e5e65277a50c8df077bad3962bba0461.tar.bz2
Fix page up key handling.
Diffstat (limited to 'atari/rootwin.c')
-rwxr-xr-xatari/rootwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c
index 775889a4a..57d75d1a9 100755
--- a/atari/rootwin.c
+++ b/atari/rootwin.c
@@ -1267,7 +1267,7 @@ static bool on_content_keypress(struct browser_window *bw, unsigned short nkc)
break;
case KEY_PAGE_UP:
- gemtk_wm_scroll(w, GEMTK_WM_VSLIDER, (g.g_h/slid->y_unit_px),
+ gemtk_wm_scroll(w, GEMTK_WM_VSLIDER, -(g.g_h/slid->y_unit_px),
false);
r = true;
break;