mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
refactor: use S_LEN(s) instead of s, n (#29219)
This commit is contained in:
@@ -833,9 +833,9 @@ void terminal_paste(int count, char **y_array, size_t y_size)
|
||||
if (j) {
|
||||
// terminate the previous line
|
||||
#ifdef MSWIN
|
||||
terminal_send(curbuf->terminal, "\r\n", 2);
|
||||
terminal_send(curbuf->terminal, S_LEN("\r\n"));
|
||||
#else
|
||||
terminal_send(curbuf->terminal, "\n", 1);
|
||||
terminal_send(curbuf->terminal, S_LEN("\n"));
|
||||
#endif
|
||||
}
|
||||
size_t len = strlen(y_array[j]);
|
||||
|
Reference in New Issue
Block a user