Fix hb_buffer_add_codepoints to actually NOT validate

This commit is contained in:
Behdad Esfahbod 2015-01-26 14:08:36 -08:00
parent 70c25ee215
commit 78c6e86c04
1 changed files with 1 additions and 1 deletions

View File

@ -1336,7 +1336,7 @@ hb_buffer_add_utf (hb_buffer_t *buffer,
unsigned int item_offset,
int item_length)
{
typedef hb_utf_t<T, true> utf_t;
typedef hb_utf_t<T, validate> utf_t;
const hb_codepoint_t replacement = buffer->replacement;
assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE ||