From: handa Date: Thu, 5 Aug 2004 13:06:12 +0000 (+0000) Subject: (mfont__ft_drive_otf): Switch simplified. X-Git-Tag: REL-1-1-0~33 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=34dcacc9c427a11634f64c373abcd04835c4efba;p=m17n%2Fm17n-lib.git (mfont__ft_drive_otf): Switch simplified. --- diff --git a/src/font-ft.c b/src/font-ft.c index fb5094e..ebcd01c 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -1077,7 +1077,7 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, break; prev = base; goto label_adjust_anchor; - case 6: + default: /* i.e. case 6 */ if (! mark) break; prev = mark; @@ -1101,10 +1101,6 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, g->yoff = prev->yoff + mark_y - base_y; g->combining_code = MAKE_COMBINING_CODE_BY_CLASS (0); } - break; - default: /* i.e case 6 */ - /* Not yet supported. */ - break; } if (otfg->GlyphClass == OTF_GlyphClass0) base = mark = g;