fixup: LNUL

This commit is contained in:
James Tirta Halim
2024-06-03 11:04:54 +07:00
committed by Lewis Russell
parent a18982cb83
commit 4b3845be2e

View File

@ -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;
}