diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index f7fef5273..ab339c2fa 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -1633,7 +1633,7 @@ template unsigned int saved_lookup_props = c->lookup_props; c->set_lookup (l); bool ret = l.apply_once (c); - c->lookup_props = saved_lookup_props; + c->set_lookup_props (saved_lookup_props); return ret; } diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index aaf3b510a..6495335b2 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -1382,7 +1382,7 @@ template unsigned int saved_lookup_props = c->lookup_props; c->set_lookup (l); bool ret = l.apply_once (c); - c->lookup_props = saved_lookup_props; + c->set_lookup_props (saved_lookup_props); return ret; }