mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
refactor: replace '\0' with NUL
This commit is contained in:

committed by
Lewis Russell

parent
2f5b8a0092
commit
a18982cb83
@@ -845,7 +845,7 @@ void terminal_paste(int count, char **y_array, size_t y_size)
|
||||
}
|
||||
char *dst = buff;
|
||||
char *src = y_array[j];
|
||||
while (*src != '\0') {
|
||||
while (*src != NUL) {
|
||||
len = (size_t)utf_ptr2len(src);
|
||||
int c = utf_ptr2char(src);
|
||||
if (!is_filter_char(c)) {
|
||||
|
Reference in New Issue
Block a user