diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2018-01-21 14:27:59 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2018-01-21 14:28:32 +0000 |
commit | 89baae16b47fad0dcb50402e9a2ba887b05242c0 (patch) | |
tree | f9628ab6fa786b2ac08f39c812147bd5f36c26f7 /frontends/framebuffer | |
parent | 29e36cdf1a6f4404f804e5c2b46d38dad929416d (diff) | |
download | netsurf-89baae16b47fad0dcb50402e9a2ba887b05242c0.tar.gz netsurf-89baae16b47fad0dcb50402e9a2ba887b05242c0.tar.bz2 |
Framebuffer: Squash fallthrough warnings in internal font handling.
Diffstat (limited to 'frontends/framebuffer')
-rw-r--r-- | frontends/framebuffer/font_internal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/framebuffer/font_internal.c b/frontends/framebuffer/font_internal.c index 3b8a1c43f..ff3471d1d 100644 --- a/frontends/framebuffer/font_internal.c +++ b/frontends/framebuffer/font_internal.c @@ -270,6 +270,7 @@ fb_get_glyph(uint32_t ucs4, enum fb_font_style style, int scale) break; } } + /* Fall through. */ case FB_BOLD: section = fb_bold_section_table[ucs4 / 256]; if (section != 0 || ucs4 / 256 == 0) { @@ -280,6 +281,7 @@ fb_get_glyph(uint32_t ucs4, enum fb_font_style style, int scale) break; } } + /* Fall through. */ case FB_ITALIC: section = fb_italic_section_table[ucs4 / 256]; if (section != 0 || ucs4 / 256 == 0) { @@ -290,6 +292,7 @@ fb_get_glyph(uint32_t ucs4, enum fb_font_style style, int scale) break; } } + /* Fall through. */ case FB_REGULAR: section = fb_regular_section_table[ucs4 / 256]; if (section != 0 || ucs4 / 256 == 0) { @@ -300,6 +303,7 @@ fb_get_glyph(uint32_t ucs4, enum fb_font_style style, int scale) break; } } + /* Fall through. */ default: glyph_data = get_codepoint(ucs4, style & FB_ITALIC); break; |