projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f80a89
)
[Indic] Exchange abort() for assert()
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 14 Nov 2012 23:07:36 +0000
(15:07 -0800)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 14 Nov 2012 23:07:36 +0000
(15:07 -0800)
src/hb-ot-shape-complex-indic.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape-complex-indic.cc
b/src/hb-ot-shape-complex-indic.cc
index
130a632
..
a7f9b60
100644
(file)
--- a/
src/hb-ot-shape-complex-indic.cc
+++ b/
src/hb-ot-shape-complex-indic.cc
@@
-486,6
+486,10
@@
initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan,
switch (indic_plan->config->base_pos)
{
+ default:
+ assert (false);
+ /* fallthrough */
+
case BASE_POS_LAST:
{
/* -> 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;
}
break;
-
- default:
- abort ();
}
/* -> If the syllable starts with Ra + Halant (in a script that has Reph)