mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -559,10 +559,10 @@ void ex_sort(exarg_T *eap)
|
||||
end_col = len;
|
||||
if (regmatch.regprog != NULL && vim_regexec(®match, s, 0)) {
|
||||
if (sort_rx) {
|
||||
start_col = (colnr_T)(regmatch.startp[0] - (char_u *)s);
|
||||
end_col = (colnr_T)(regmatch.endp[0] - (char_u *)s);
|
||||
start_col = (colnr_T)(regmatch.startp[0] - s);
|
||||
end_col = (colnr_T)(regmatch.endp[0] - s);
|
||||
} else {
|
||||
start_col = (colnr_T)(regmatch.endp[0] - (char_u *)s);
|
||||
start_col = (colnr_T)(regmatch.endp[0] - s);
|
||||
}
|
||||
} else if (regmatch.regprog != NULL) {
|
||||
end_col = 0;
|
||||
|
Reference in New Issue
Block a user