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/search.c | |
parent | 1b28029810e9c377087ea5a45acc8767cf0196b3 (diff) | |
download | FreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.zip FreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.tar.gz |
Import less v358.
Diffstat (limited to 'contrib/less/search.c')
-rw-r--r-- | contrib/less/search.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/less/search.c b/contrib/less/search.c index f533527..1aff4df 100644 --- a/contrib/less/search.c +++ b/contrib/less/search.c @@ -52,6 +52,7 @@ extern int linenums; extern int sc_height; extern int jump_sline; extern int bs_mode; +extern int status_col; extern POSITION start_attnpos; extern POSITION end_attnpos; #if HILITE_SEARCH @@ -509,7 +510,8 @@ is_hilited(pos, epos, nohide) { struct hilite *hl; - if (start_attnpos != NULL_POSITION && + if (!status_col && + start_attnpos != NULL_POSITION && pos < end_attnpos && (epos == NULL_POSITION || epos > start_attnpos)) /* |