[name] Fix nul-termination bug

This commit is contained in:
Behdad Esfahbod 2018-10-23 22:16:32 -07:00
parent 9b532e2ed4
commit 888a65615c
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ hb_ot_name_convert_utf (const hb_bytes_t *bytes,
};
*text_size = dst - text;
*text = 0; /* NUL-terminate. */
*dst = 0; /* NUL-terminate. */
}
/* Accumulate length of rest. */