[Indic] Fix switch
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 26 Aug 2012 18:30:18 +0000 (14:30 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 26 Aug 2012 18:30:38 +0000 (14:30 -0400)
D'oh.  Was working by pure chance :)).

src/hb-ot-shape-complex-indic.cc

index b2513ef..e39629f 100644 (file)
@@ -447,7 +447,7 @@ initial_reordering_consonant_syllable (const hb_ot_shape_plan_t *plan, hb_buffer
       has_reph = true;
     };
 
-    switch (indic_plan->config->base_pos == BASE_POS_LAST)
+    switch (indic_plan->config->base_pos)
     {
       case BASE_POS_LAST:
       {