summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-27 22:53:07 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-27 22:53:07 +0200
commit451fc7b954906069f1830a8092ad85616049a828 (patch)
tree5d39c1b58d958de9a81c08805b3c0673415d22c8 /src/screen.c
parent9d34d90210ba52ebaf45973282e5921f5af364c7 (diff)
downloadvim-git-451fc7b954906069f1830a8092ad85616049a828.tar.gz
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong wayv8.0.1768
Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index d1f17b51b..06dc30439 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -7945,7 +7945,7 @@ next_search_hl(
{
/* don't free regprog in the match list, it's a copy */
vim_regfree(shl->rm.regprog);
- SET_NO_HLSEARCH(TRUE);
+ set_no_hlsearch(TRUE);
}
shl->rm.regprog = NULL;
shl->lnum = 0;