[indic] Fix cluster merging of left matras

The merge_clusters there was totally broken.
This commit is contained in:
Behdad Esfahbod 2013-10-16 11:34:07 +02:00
parent 190c8f2b60
commit 9cb59d460e
1 changed files with 1 additions and 1 deletions

View File

@ -1298,9 +1298,9 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
info[new_pos] = tmp;
if (old_pos < base && base <= new_pos) /* Shouldn't actually happen. */
base--;
buffer->merge_clusters (new_pos, MIN (end, base + 1));
new_pos--;
}
buffer->merge_clusters (new_pos, MIN (end, base + 1));
} else {
for (unsigned int i = start; i < base; i++)
if (info[i].indic_position () == POS_PRE_M) {