summaryrefslogtreecommitdiff
path: root/contrib/less/forwback.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/forwback.c')
-rw-r--r--contrib/less/forwback.c3
1 files changed, 2 insertions, 1 deletions
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