summaryrefslogtreecommitdiff
path: root/pango/pangoft2-render.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-01 22:38:19 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-01 22:38:19 -0400
commit8ffea42a6703cba1433a974f61ecfdf5ad966345 (patch)
treefac3b4d366162a63bcac41fb5e203df25aa8fc5e /pango/pangoft2-render.c
parent375da4cb1693cc97d689d0d4163a07d6a254f9dc (diff)
downloadpango-8ffea42a6703cba1433a974f61ecfdf5ad966345.tar.gz
Avoid an implicit fallthrough
This was pretty clearly unintentional.
Diffstat (limited to 'pango/pangoft2-render.c')
-rw-r--r--pango/pangoft2-render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pangoft2-render.c b/pango/pangoft2-render.c
index 3c573bce..6d299392 100644
--- a/pango/pangoft2-render.c
+++ b/pango/pangoft2-render.c
@@ -335,6 +335,7 @@ pango_ft2_renderer_draw_glyph (PangoRenderer *renderer,
break;
case 0xff:
*d = 0xff;
+ break;
default:
*d = MIN ((gushort) *d + (gushort) *s, 0xff);
break;