diff options
author | ps <ps@FreeBSD.org> | 2000-05-23 08:18:52 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-05-23 08:18:52 +0000 |
commit | 80f278fdf759201233601870ef24ffc4d9f751d7 (patch) | |
tree | 1c5d812784df3de41300b98801b6d3eb9ed4468b /contrib/less | |
parent | ab8e27be2333861690519fdbce4932a4093d7e58 (diff) | |
download | FreeBSD-src-80f278fdf759201233601870ef24ffc4d9f751d7.zip FreeBSD-src-80f278fdf759201233601870ef24ffc4d9f751d7.tar.gz |
Forgot one small more(1) compat patch.
Obtained from: NetBSD
Diffstat (limited to 'contrib/less')
-rw-r--r-- | contrib/less/forwback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/less/forwback.c b/contrib/less/forwback.c index d8071aa..e110507 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 |