summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh')
-rw-r--r--thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh b/thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh
index 5946aef635..f60bc4a3ce 100644
--- a/thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh
+++ b/thirdparty/harfbuzz/src/hb-ot-var-avar-table.hh
@@ -206,11 +206,10 @@ struct avar
v = hb_clamp (v, -(1<<14), +(1<<14));
out.push (v);
}
-
- OT::VariationStore::destroy_cache (var_store_cache);
-
for (unsigned i = 0; i < coords_length; i++)
coords[i] = out[i];
+
+ OT::VariationStore::destroy_cache (var_store_cache);
#endif
}