From a931ef9bc003edca544d2c40319d2d703b599738 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Jul 2020 10:55:25 -0400 Subject: correct f/b to scroll by one line --- more.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/more.c b/more.c index 3f5eada..7f64742 100644 --- a/more.c +++ b/more.c @@ -161,12 +161,12 @@ int more(const char *file) case 'f': case CTRL_F: - scroll(&mf, count, global.lines); + scroll(&mf, count, 1); break; case 'b': case CTRL_B: - scroll(&mf, count, -global.lines); + scroll(&mf, count, -1); break; case ' ': -- cgit v1.2.1