| Index: third_party/harfbuzz-ng/src/hb-ot-map-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-ot-map-private.hh b/third_party/harfbuzz-ng/src/hb-ot-map-private.hh
|
| index 6f62c77de0babc50244b065a138ae9061cfe8ada..8692caa93925992bd48dbbd227e3c02daf649cc4 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-ot-map-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-ot-map-private.hh
|
| @@ -203,7 +203,8 @@ struct hb_ot_map_builder_t
|
| unsigned int stage[2]; /* GSUB/GPOS */
|
|
|
| static int cmp (const feature_info_t *a, const feature_info_t *b)
|
| - { return (a->tag != b->tag) ? (a->tag < b->tag ? -1 : 1) : (a->seq < b->seq ? -1 : 1); }
|
| + { return (a->tag != b->tag) ? (a->tag < b->tag ? -1 : 1) :
|
| + (a->seq < b->seq ? -1 : a->seq > b->seq ? 1 : 0); }
|
| };
|
|
|
| struct stage_info_t {
|
|
|