aboutsummaryrefslogtreecommitdiff
path: root/contrib/less/search.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-07-14 09:57:37 +0000
committerPaul Saab <ps@FreeBSD.org>2000-07-14 09:57:37 +0000
commit15596da42f9905cdd8f555a71d97490c0fbc146c (patch)
treea0f8f8e12717d4d6032aa45fb9dd4569678f91a3 /contrib/less/search.c
parent94cc830866a525bca9eef600b397ae254cd6785e (diff)
downloadsrc-15596da42f9905cdd8f555a71d97490c0fbc146c.tar.gz
src-15596da42f9905cdd8f555a71d97490c0fbc146c.zip
Merge vendor changes onto mainline.
Notes
Notes: svn path=/head/; revision=63131
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 030bdab7738b..ff00a311d300 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))
/*