commit | 451fc7b954906069f1830a8092ad85616049a828 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 27 22:53:07 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 27 22:53:07 2018 +0200 |
tree | 5d39c1b58d958de9a81c08805b3c0673415d22c8 | |
parent | 9d34d90210ba52ebaf45973282e5921f5af364c7 [diff] [blame] |
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
diff --git a/src/screen.c b/src/screen.c index d1f17b5..06dc304 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -7945,7 +7945,7 @@ { /* 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;