[USE] Fix out-of-bounds static array access

This commit is contained in:
Behdad Esfahbod 2015-07-27 12:16:02 +02:00
parent 260442346a
commit f1c20e1ba5
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ collect_features_use (hb_ot_shape_planner_t *plan)
map->add_gsub_pause (reorder);
/* "Topographical features" */
for (unsigned int i = 0; i < ARRAY_LENGTH (other_features); i++)
for (unsigned int i = 0; i < ARRAY_LENGTH (arabic_features); i++)
map->add_feature (arabic_features[i], 1, F_NONE);
map->add_gsub_pause (NULL);