aboutsummaryrefslogtreecommitdiff
path: root/contrib/less/search.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-07-14 09:51:40 +0000
committerPaul Saab <ps@FreeBSD.org>2000-07-14 09:51:40 +0000
commit8ed69c6ff9a57551420d2cb6f67c989b37477cb5 (patch)
treef3a476e74c05bfed5be5c76fca73660c52bd2cc5 /contrib/less/search.c
parenta5f0fb151d90effe79714de0fa059954725fe57f (diff)
downloadsrc-8ed69c6ff9a57551420d2cb6f67c989b37477cb5.tar.gz
src-8ed69c6ff9a57551420d2cb6f67c989b37477cb5.zip
Import less v358.
Notes
Notes: svn path=/vendor/less/dist/; revision=63128
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 f53352740ded..1aff4dfc83ba 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))
/*