diff options
author | James Tirta Halim <tirtajames45@gmail.com> | 2024-06-03 11:00:20 +0700 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-06-04 09:42:19 +0100 |
commit | a18982cb839d7f05e32b1026bbd99b8aa34ad189 (patch) | |
tree | a2fcf7096210519d2f1397ab22b0200598350578 /src/nvim/terminal.c | |
parent | 2f5b8a009280eba995aecf67d1e8d99b7c72c51c (diff) | |
download | rneovim-a18982cb839d7f05e32b1026bbd99b8aa34ad189.tar.gz rneovim-a18982cb839d7f05e32b1026bbd99b8aa34ad189.tar.bz2 rneovim-a18982cb839d7f05e32b1026bbd99b8aa34ad189.zip |
refactor: replace '\0' with NUL
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 2b05a8047e..2738eb874d 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -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)) { |