diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index ccc075a73..047dafd43 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -483,6 +483,7 @@ _hb_buffer_set_masks (hb_buffer_t *buffer, return; } + /* XXX can't bsearch since .cluster may not be sorted. */ /* Binary search to find the start position and go from there. */ unsigned int min = 0, max = buffer->len; while (min < max)