[Indic] Minor
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 10 May 2012 10:17:16 +0000 (12:17 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 10 May 2012 10:21:30 +0000 (12:21 +0200)
src/hb-ot-shape-complex-indic.cc

index c1d731c..a97c8af 100644 (file)
@@ -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. */