From 40558c2eb9fce7dd61812e89a11785782cc68fbd Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 15 Jun 2006 20:59:19 +1000 Subject: [PATCH] Fix highlighting of search matches, broken by earlier patch for underlining potential paths darcs-hash:20060615105919-ac50b-fd54a58e3f7bdc93fd36e52891bafc7366c6e401.gz --- reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.c b/reader.c index 3f979b080..ac4d31908 100644 --- a/reader.c +++ b/reader.c @@ -2238,7 +2238,7 @@ static void reader_super_highlight_me_plenty( wchar_t * buff, int *color, int po */ if( color[start+i]>>8 == 0 ) { - color[start+i] |= HIGHLIGHT_SEARCH_MATCH<<8; + color[start+i] |= HIGHLIGHT_SEARCH_MATCH<<16; } } }