mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: replace '\0' with NUL
This commit is contained in:

committed by
Lewis Russell

parent
2f5b8a0092
commit
a18982cb83
@@ -2690,7 +2690,7 @@ static void msg_puts_printf(const char *str, const ptrdiff_t maxlen)
|
||||
*p++ = '\r';
|
||||
}
|
||||
memcpy(p, s, (size_t)len);
|
||||
*(p + len) = '\0';
|
||||
*(p + len) = NUL;
|
||||
if (info_message) {
|
||||
printf("%s", buf);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user