From: Behdad Esfahbod Date: Thu, 10 May 2012 10:17:16 +0000 (+0200) Subject: [Indic] Minor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=190eb31a16178269aecaf5d2ecc9012f956749f4;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [Indic] Minor --- diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index c1d731c..a97c8af 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -343,7 +343,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff if (info[i].indic_category() == OT_H) { unsigned int j; for (j = end - 1; j > i; j--) - if ((FLAG (info[j].indic_category()) & (FLAG (OT_C) | FLAG (OT_Ra)))) + if (is_consonant (info[j])) break; if (j > i) { /* Move Halant to after last consonant. */