diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 36a5e136d..c6bceebe0 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -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