mirror of
https://github.com/neovim/neovim.git
synced 2025-11-29 05:30:42 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -4765,8 +4765,8 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out)
|
||||
reg_getline(rp->rs_un.regsave.rs_u.pos.lnum);
|
||||
|
||||
rp->rs_un.regsave.rs_u.pos.col -=
|
||||
utf_head_off(line,
|
||||
line + rp->rs_un.regsave.rs_u.pos.col - 1)
|
||||
utf_head_off((char *)line,
|
||||
(char *)line + rp->rs_un.regsave.rs_u.pos.col - 1)
|
||||
+ 1;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user