From ecc4550ed7bc900a61081edfbcd0ad09cbf29b36 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 8 Oct 2010 20:05:29 -0400 Subject: [PATCH] Fix feature overriding --- src/hb-ot-map-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-map-private.hh b/src/hb-ot-map-private.hh index 2d790b042..4d1deefbb 100644 --- a/src/hb-ot-map-private.hh +++ b/src/hb-ot-map-private.hh @@ -152,7 +152,7 @@ struct hb_mask_allocator_t { if (feature_infos[i].global) feature_infos[j] = feature_infos[i]; else { - feature_infos[j].global = feature_infos[j].global && (feature_infos[j].value == feature_infos[i].value); + feature_infos[j].global = false; feature_infos[j].value = MAX (feature_infos[j].value, feature_infos[i].value); } }