From 840e1b6b84e8c421ab695f8fa99eae8cfc08e3e8 Mon Sep 17 00:00:00 2001 From: Qunxin Liu Date: Tue, 7 Feb 2023 13:49:19 -0800 Subject: [PATCH] [instancer] bug fix --- src/hb-subset-plan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-subset-plan.cc b/src/hb-subset-plan.cc index b0a83b365..088fdca07 100644 --- a/src/hb-subset-plan.cc +++ b/src/hb-subset-plan.cc @@ -238,7 +238,7 @@ _GSUBGPOS_find_duplicate_features (const OT::GSUBGPOS &g, const OT::Feature* other_f = &(g.get_feature (other_f_index)); if (feature_substitutes_map->has (other_f_index, &p)) - f = *p; + other_f = *p; auto f_iter = + hb_iter (f->lookupIndex)