aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-22 11:02:24 +0100
committerGitHub <noreply@github.com>2022-11-22 11:02:24 +0100
commitcd386b2c72eaacd9acac27380ee34db1accad9cb (patch)
tree15f906032e4091204450ed197da3ad97ddcb5049 /src/nvim/ex_getln.c
parent5eb5f4948826e9d47685ea9e257409cc3e693614 (diff)
parent40f3f75867bf03abfd90e0389a38197a00d37af1 (diff)
downloadrneovim-cd386b2c72eaacd9acac27380ee34db1accad9cb.tar.gz
rneovim-cd386b2c72eaacd9acac27380ee34db1accad9cb.tar.bz2
rneovim-cd386b2c72eaacd9acac27380ee34db1accad9cb.zip
Merge pull request #20151 from dundargoc/refactor/char_u/13
refactor: replace char_u with char 13: remove `STRLEN` part 3
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 89d295e1a8..fc9559172f 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -439,7 +439,7 @@ static void may_do_incsearch_highlighting(int firstc, long count, incsearch_stat
.sa_tm = &tm,
};
found = do_search(NULL, firstc == ':' ? '/' : firstc, search_delim,
- (char_u *)ccline.cmdbuff + skiplen, count,
+ ccline.cmdbuff + skiplen, count,
search_flags, &sia);
ccline.cmdbuff[skiplen + patlen] = next_char;
emsg_off--;