Merge pull request #19961 from dundargoc/refactor/char_u/2

refactor: replace char_u with char 2: electric chaaralo
This commit is contained in:
bfredl
2022-08-29 12:50:22 +02:00
committed by GitHub
41 changed files with 497 additions and 520 deletions

View File

@@ -4806,14 +4806,14 @@ static void nv_search(cmdarg_T *cap)
// When using 'incsearch' the cursor may be moved to set a different search
// start position.
cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, true);
cap->searchbuf = (char *)getcmdline(cap->cmdchar, cap->count1, 0, true);
if (cap->searchbuf == NULL) {
clearop(oap);
return;
}
(void)normal_search(cap, cap->cmdchar, cap->searchbuf,
(void)normal_search(cap, cap->cmdchar, (char_u *)cap->searchbuf,
(cap->arg || !equalpos(save_cursor, curwin->w_cursor))
? 0 : SEARCH_MARK, NULL);
}