From 5d465776b9e058088e1f29636cf7cdcb0c13eb0d Mon Sep 17 00:00:00 2001 From: ps Date: Fri, 14 Jul 2000 09:51:40 +0000 Subject: Import less v358. --- contrib/less/input.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib/less/input.c') 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; -- cgit v1.1