From: Behdad Esfahbod Date: Sat, 9 Oct 2010 00:05:29 +0000 (-0400) Subject: Fix feature overriding X-Git-Tag: 2.0_alpha~7^2~517 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecc4550ed7bc900a61081edfbcd0ad09cbf29b36;p=apps%2Fhome%2Fvideo-player.git Fix feature overriding --- diff --git a/src/hb-ot-map-private.hh b/src/hb-ot-map-private.hh index 2d790b0..4d1deef 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); } }