summaryrefslogtreecommitdiffstats
path: root/contrib/less/search.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-07-14 09:51:40 +0000
committerps <ps@FreeBSD.org>2000-07-14 09:51:40 +0000
commit5d465776b9e058088e1f29636cf7cdcb0c13eb0d (patch)
treef3a476e74c05bfed5be5c76fca73660c52bd2cc5 /contrib/less/search.c
parent1b28029810e9c377087ea5a45acc8767cf0196b3 (diff)
downloadFreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.zip
FreeBSD-src-5d465776b9e058088e1f29636cf7cdcb0c13eb0d.tar.gz
Import less v358.
Diffstat (limited to 'contrib/less/search.c')
-rw-r--r--contrib/less/search.c4
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))
/*
OpenPOWER on IntegriCloud