[Indic] Exchange abort() for assert()
This commit is contained in:
parent
0f80a89de9
commit
d469fadce8
@ -486,6 +486,10 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
|
|||||||
|
|
||||||
switch (indic_plan->config->base_pos)
|
switch (indic_plan->config->base_pos)
|
||||||
{
|
{
|
||||||
|
default:
|
||||||
|
assert (false);
|
||||||
|
/* fallthrough */
|
||||||
|
|
||||||
case BASE_POS_LAST:
|
case BASE_POS_LAST:
|
||||||
{
|
{
|
||||||
/* -> starting from the end of the syllable, move backwards */
|
/* -> starting from the end of the syllable, move backwards */
|
||||||
@ -559,9 +563,6 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
|
|||||||
info[i].indic_position() = POS_BELOW_C;
|
info[i].indic_position() = POS_BELOW_C;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
|
||||||
abort ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -> If the syllable starts with Ra + Halant (in a script that has Reph)
|
/* -> If the syllable starts with Ra + Halant (in a script that has Reph)
|
||||||
|
Loading…
Reference in New Issue
Block a user