From 014f369ec98fdbb3e7a2ef68aea2c4e017e7b680 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 22 Dec 2013 16:15:30 -0500 Subject: [PATCH] Add XXX note --- src/hb-ot-map-private.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-map-private.hh b/src/hb-ot-map-private.hh index 0e718a6f1..1b4f02960 100644 --- a/src/hb-ot-map-private.hh +++ b/src/hb-ot-map-private.hh @@ -88,6 +88,8 @@ struct hb_ot_map_t return map ? map->needs_fallback : false; } + /* XXX get_1_mask is actually unsafe if feature has more than + * one bit. */ inline hb_mask_t get_1_mask (hb_tag_t feature_tag) const { const feature_map_t *map = features.bsearch (&feature_tag); return map ? map->_1_mask : 0;