diff options
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; } |