summaryrefslogtreecommitdiffstats
path: root/contrib/less/search.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-07-14 09:57:37 +0000
committerps <ps@FreeBSD.org>2000-07-14 09:57:37 +0000
commitc9ceacbff58c73b848203138d29a1a0248e7ce55 (patch)
tree93a90ecd994afd492fdf61e5b974b90b6e6a4e5d /contrib/less/search.c
parentb192628b0e5c11dfea108e4320c2ab0f7bf56518 (diff)
downloadFreeBSD-src-c9ceacbff58c73b848203138d29a1a0248e7ce55.zip
FreeBSD-src-c9ceacbff58c73b848203138d29a1a0248e7ce55.tar.gz
Merge vendor changes onto mainline.
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 030bdab..ff00a31 100644
--- a/contrib/less/search.c
+++ b/contrib/less/search.c
@@ -54,6 +54,7 @@ extern int sc_height;
extern int jump_sline;
extern int bs_mode;
extern int more_mode;
+extern int status_col;
extern POSITION start_attnpos;
extern POSITION end_attnpos;
#if HILITE_SEARCH
@@ -511,7 +512,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