summaryrefslogtreecommitdiff
path: root/usr.bin/less/forwback.c
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-21 06:06:43 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-21 06:06:43 +0000
commit584e4bbf452da2934dbaf4b9dc09bd131a1d4cd7 (patch)
tree2c9db12c868140432b9523beaa56096cacc3ec35 /usr.bin/less/forwback.c
parent5b2dc2545f95d91daf78365b3c049b1e3f8aa819 (diff)
Incorporate less modifications for more and our bug fixes from previous
version.
Diffstat (limited to 'usr.bin/less/forwback.c')
-rw-r--r--usr.bin/less/forwback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/less/forwback.c b/usr.bin/less/forwback.c
index 49664522f4c..bbafefcd0d9 100644
--- a/usr.bin/less/forwback.c
+++ b/usr.bin/less/forwback.c
@@ -42,6 +42,7 @@ extern int top_scroll;
extern int quiet;
extern int sc_width, sc_height;
extern int quit_at_eof;
+extern int less_mode;
extern int plusoption;
extern int forw_scroll;
extern int back_scroll;
@@ -350,8 +351,7 @@ forward(n, force, only_last)
pos = position(BOTTOM_PLUS_ONE);
} while (pos == NULL_POSITION);
}
- } else
- {
+ } else {
eof_bell();
hit_eof++;
return;