diff options
author | ps <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
commit | 5d465776b9e058088e1f29636cf7cdcb0c13eb0d (patch) | |
tree | f3a476e74c05bfed5be5c76fca73660c52bd2cc5 /contrib/less/input.c | |
parent | 1b28029810e9c377087ea5a45acc8767cf0196b3 (diff) | |
download | FreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.zip FreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.tar.gz |
Import less v358.
Diffstat (limited to 'contrib/less/input.c')
-rw-r--r-- | contrib/less/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/less/input.c b/contrib/less/input.c index cf7d902..66ed635 100644 --- a/contrib/less/input.c +++ b/contrib/less/input.c @@ -23,6 +23,7 @@ extern int squeeze; extern int chopline; +extern int hshift; extern int quit_if_one_screen; extern int sigs; extern int ignore_eoi; @@ -111,7 +112,7 @@ forw_line(curr_pos) * is too long to print in the screen width. * End the line here. */ - if (chopline) + if (chopline || hshift > 0) { do { @@ -289,7 +290,7 @@ back_line(curr_pos) * reached our curr_pos yet. Discard the line * and start a new one. */ - if (chopline) + if (chopline || hshift > 0) { endline = TRUE; quit_if_one_screen = FALSE; |