diff options
author | James Tirta Halim <tirtajames45@gmail.com> | 2024-06-03 11:04:54 +0700 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-06-04 09:42:19 +0100 |
commit | 4b3845be2e497f96f855782d52dd1d02a4cabb6f (patch) | |
tree | 0185ea3486ff258acc8cc18fc55e3b11258128ce /src | |
parent | a18982cb839d7f05e32b1026bbd99b8aa34ad189 (diff) | |
download | rneovim-4b3845be2e497f96f855782d52dd1d02a4cabb6f.tar.gz rneovim-4b3845be2e497f96f855782d52dd1d02a4cabb6f.tar.bz2 rneovim-4b3845be2e497f96f855782d52dd1d02a4cabb6f.zip |
fixup: LNUL
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/mbyte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 07c0c846ed..7975f351ee 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1500,7 +1500,7 @@ int utf8_to_utf16(const char *utf8, int utf8len, wchar_t **utf16) return uv_translate_sys_error(GetLastError()); } - (*utf16)[bufsize] = LNUL; + (*utf16)[bufsize] = L'\0'; return 0; } |