summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/argv/ntapi_tt_array_utf8.c1
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);