summaryrefslogtreecommitdiffstats
path: root/contrib/less/search.c
diff options
context:
space:
mode:
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