Commit Diff


commit - 018a3114afaee1a228610d79199fb03ae21d8119
commit + d38e7214fdfed470deebf1643905955dd5e180b6
blob - 242f12b3b1b4cf4c6980d1e2668fb1218cfc7654
blob + 1394ab8c02d1eb924df52d129cbdd44d20a854bc
--- cmd.c
+++ cmd.c
@@ -154,13 +154,13 @@ cmd_scroll_line_down(struct buffer *buffer)
 void
 cmd_scroll_up(struct buffer *buffer)
 {
-	forward_line(buffer, -1*(body_lines-1));
+	forward_line(buffer, -1*body_lines);
 }
 
 void
 cmd_scroll_down(struct buffer *buffer)
 {
-	forward_line(buffer, body_lines-1);
+	forward_line(buffer, body_lines);
 }
 
 void