| Index: third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh b/third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh
|
| index 5b21f1427660cee8f5e00a1c539a765fbf81428f..64829ac784c17c7a1c3094b9354aea0df79b318d 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh
|
| @@ -545,6 +545,9 @@ struct Feature
|
| c->try_set (&featureParams, new_offset) &&
|
| !featureParams.sanitize (c, this, closure ? closure->tag : HB_TAG_NONE))
|
| return_trace (false);
|
| +
|
| + if (c->edit_count > 1)
|
| + c->edit_count--; /* This was a "legitimate" edit; don't contribute to error count. */
|
| }
|
|
|
| return_trace (true);
|
|
|