refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
Dundar Göc
2022-08-26 23:11:25 +02:00
committed by dundargoc
parent 87e037e26c
commit 73207cae61
76 changed files with 868 additions and 883 deletions

View File

@@ -1157,7 +1157,7 @@ again:
// Search for matching "</aaa>". First isolate the "aaa".
inc_cursor();
p = get_cursor_pos_ptr();
p = (char_u *)get_cursor_pos_ptr();
for (cp = p;
*cp != NUL && *cp != '>' && !ascii_iswhite(*cp);
MB_PTR_ADV(cp)) {}
@@ -1196,7 +1196,7 @@ again:
}
}
} else {
char_u *c = get_cursor_pos_ptr();
char_u *c = (char_u *)get_cursor_pos_ptr();
// Exclude the '<' of the end tag.
// If the closing tag is on new line, do not decrement cursor, but make
// operation exclusive, so that the linefeed will be selected