diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-07-14 09:51:40 +0000 |
| commit | 8ed69c6ff9a57551420d2cb6f67c989b37477cb5 (patch) | |
| tree | f3a476e74c05bfed5be5c76fca73660c52bd2cc5 /contrib/less/input.c | |
| parent | a5f0fb151d90effe79714de0fa059954725fe57f (diff) | |
Notes
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 cf7d902296e4..66ed635556b3 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; |
