[Indic] Fix minor bug in pre-base Ra positioning

This commit is contained in:
Behdad Esfahbod 2012-07-24 01:44:47 -04:00
parent 7573799126
commit 0afb84c125
1 changed files with 2 additions and 2 deletions

View File

@ -1131,8 +1131,8 @@ final_reordering_syllable (hb_buffer_t *buffer,
*/
unsigned int new_pos = base;
while (new_pos > start + 1 &&
!(is_one_of (info[new_pos - 1], (FLAG (OT_M) | FLAG (OT_H) | FLAG (OT_Coeng)))))
while (new_pos > start &&
!(is_one_of (info[new_pos - 1], FLAG(OT_M) | HALANT_OR_COENG_FLAGS)))
new_pos--;
if (new_pos > start && is_halant_or_coeng (info[new_pos - 1]))