| Index: third_party/harfbuzz-ng/src/hb-buffer.cc
|
| diff --git a/third_party/harfbuzz-ng/src/hb-buffer.cc b/third_party/harfbuzz-ng/src/hb-buffer.cc
|
| index 942177cbd05c180e7fff0c878a07fbb2c8b02822..b9fe263ce53c33bc975a5fa2f78723ec34500ef5 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-buffer.cc
|
| +++ b/third_party/harfbuzz-ng/src/hb-buffer.cc
|
| @@ -443,7 +443,7 @@ hb_buffer_t::reverse_range (unsigned int start,
|
| {
|
| unsigned int i, j;
|
|
|
| - if (start == end - 1)
|
| + if (end - start < 2)
|
| return;
|
|
|
| for (i = start, j = end - 1; i < j; i++, j--) {
|
|
|