Oops, actually set global mask
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 13 Oct 2010 21:17:00 +0000 (17:17 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 13 Oct 2010 21:17:00 +0000 (17:17 -0400)
src/hb-buffer.cc

index 36a5e13..c6bceeb 100644 (file)
@@ -465,7 +465,7 @@ _hb_buffer_reset_masks (hb_buffer_t *buffer,
 {
   unsigned int count = buffer->len;
   for (unsigned int i = 0; i < count; i++)
-    buffer->info[i].mask = 1;
+    buffer->info[i].mask = mask;
 }
 
 void