diff options
author | midipix <writeonce@midipix.org> | 2023-02-07 17:43:11 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2023-02-07 19:29:37 +0000 |
commit | 8ce81d1f47a399fffa868cdb38a4947cd47947de (patch) | |
tree | 4ecbb1a7d617a1ccd8fba4fdd145081800e50b48 /src/argv | |
parent | 384e7e93dd6bd22d471c3b24de56e1797964cb3c (diff) | |
download | ntapi-8ce81d1f47a399fffa868cdb38a4947cd47947de.tar.bz2 ntapi-8ce81d1f47a399fffa868cdb38a4947cd47947de.tar.xz |
__ntapi_tt_array_convert_utf8_to_utf16(): add final termination (win32 abi).
Diffstat (limited to 'src/argv')
-rw-r--r-- | src/argv/ntapi_tt_array_utf8.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argv/ntapi_tt_array_utf8.c b/src/argv/ntapi_tt_array_utf8.c index a2f6d0f..4cd3dfa 100644 --- a/src/argv/ntapi_tt_array_utf8.c +++ b/src/argv/ntapi_tt_array_utf8.c @@ -385,6 +385,7 @@ int32_t __stdcall __ntapi_tt_array_convert_utf8_to_utf16( *wch++ = 0; } + *wch++ = 0; *warrv = 0; *bytes_written = sizeof(wchar16_t) * (wch - buffer); |