From ea1e4cec25454dcb7b58608bae6599e5b19e94b0 Mon Sep 17 00:00:00 2001 From: Paul Saab Date: Tue, 23 May 2000 08:18:52 +0000 Subject: [PATCH] Forgot one small more(1) compat patch. Obtained from: NetBSD --- contrib/less/forwback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/less/forwback.c b/contrib/less/forwback.c index d8071aaf26e8..e110507fa441 100644 --- a/contrib/less/forwback.c +++ b/contrib/less/forwback.c @@ -233,7 +233,8 @@ forw(n, pos, force, only_last, nblank) * start the display after the beginning of the file, * and it is not appropriate to squish in that case. */ - if (first_time && pos == NULL_POSITION && !top_scroll && + if ((first_time || more_mode) && + pos == NULL_POSITION && !top_scroll && #if TAGS tagoption == NULL && #endif