From 4b3845be2e497f96f855782d52dd1d02a4cabb6f Mon Sep 17 00:00:00 2001 From: James Tirta Halim Date: Mon, 3 Jun 2024 11:04:54 +0700 Subject: fixup: LNUL --- src/nvim/mbyte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit