diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index eda20ca1e..3ba2d069c 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -560,7 +560,7 @@ apply_stch (const hb_ot_shape_plan_t *plan, } else { - buffer->unsafe_to_break (context, end + 1); + buffer->unsafe_to_break (context, end); hb_position_t x_offset = 0; for (unsigned int k = end; k > start; k--) {