aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_win.c
diff options
context:
space:
mode:
authorJames Tirta Halim <tirtajames45@gmail.com>2024-06-03 11:10:30 +0700
committerLewis Russell <me@lewisr.dev>2024-06-04 09:42:19 +0100
commit200e7ad1578619e78c664bd0c6be024168433412 (patch)
treec2387df2811637efb1f743693ed6b8ca172aeb74 /src/nvim/os/pty_process_win.c
parent4b3845be2e497f96f855782d52dd1d02a4cabb6f (diff)
downloadrneovim-200e7ad1578619e78c664bd0c6be024168433412.tar.gz
rneovim-200e7ad1578619e78c664bd0c6be024168433412.tar.bz2
rneovim-200e7ad1578619e78c664bd0c6be024168433412.zip
fixup: apply the change on more files
Diffstat (limited to 'src/nvim/os/pty_process_win.c')
-rw-r--r--src/nvim/os/pty_process_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c
index f73baed490..39c3966c1c 100644
--- a/src/nvim/os/pty_process_win.c
+++ b/src/nvim/os/pty_process_win.c
@@ -399,7 +399,7 @@ static int build_env_block(dict_T *denv, wchar_t **env_block)
QUEUE_INSERT_TAIL(&env_q, &env_node->node);
}
- // Additional '\0' after the final entry
+ // Additional NUL after the final entry
env_block_len++;
*env_block = xmalloc(sizeof(**env_block) * env_block_len);