Fix hb_buffer_add_codepoints to actually NOT validate
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 26 Jan 2015 22:08:36 +0000 (14:08 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 26 Jan 2015 22:08:36 +0000 (14:08 -0800)
src/hb-buffer.cc

index 7bf232d..0ce7d80 100644 (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 ||