summaryrefslogtreecommitdiffstats
path: root/window-scroll.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-04 17:58:27 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-04 17:58:27 +0000
commit143aa718e5958b9c7b539657d02c476a43270dad (patch)
tree5db9cc3eaf136cd3cd81ec8f5c5e9862e7c73fc7 /window-scroll.c
parent59a57285278de78d0a69b89fe7851a56bad4240a (diff)
Space trimmage mega-diff.
Diffstat (limited to 'window-scroll.c')
-rw-r--r--window-scroll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/window-scroll.c b/window-scroll.c
index f7dff755..d7c537dc 100644
--- a/window-scroll.c
+++ b/window-scroll.c
@@ -1,4 +1,4 @@
-/* $Id: window-scroll.c,v 1.32 2009-02-13 21:39:45 nicm Exp $ */
+/* $Id: window-scroll.c,v 1.33 2009-05-04 17:58:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -99,12 +99,12 @@ window_scroll_pageup(struct window_pane *wp)
{
struct window_scroll_mode_data *data = wp->modedata;
struct screen *s = &data->screen;
-
+
if (data->oy + screen_size_y(s) > screen_hsize(&wp->base))
data->oy = screen_hsize(&wp->base);
else
data->oy += screen_size_y(s);
-
+
window_scroll_redraw_screen(wp);
}