summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-08 15:53:10 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-06-08 15:53:10 +0000
commit5423136a6407bfb5654234a8a3dcd4a46b4b1201 (patch)
tree8de67c63f9e607c6eb673c4abd1400746d5bfc09 /pango/break.c
parent4c44845a850b935b28ce7b8665356223a32224fd (diff)
parent0b3cd20be5249c51ec981a66c07a39d54d1d1c9d (diff)
downloadpango-5423136a6407bfb5654234a8a3dcd4a46b4b1201.tar.gz
Merge branch 'master' into 'master'
Replace fallthrough comments with G_GNUC_FALLTHROUGH See merge request GNOME/pango!177
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/break.c b/pango/break.c
index 5aa9d41e..875d776c 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -404,7 +404,7 @@ pango_default_break (const gchar *text,
GB_type = GB_Prepend;
break;
}
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case G_UNICODE_CONTROL:
case G_UNICODE_LINE_SEPARATOR:
case G_UNICODE_PARAGRAPH_SEPARATOR:
@@ -420,7 +420,7 @@ pango_default_break (const gchar *text,
GB_type = GB_ControlCRLF;
break;
}
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case G_UNICODE_OTHER_LETTER:
if (makes_hangul_syllable)
@@ -597,7 +597,7 @@ pango_default_break (const gchar *text,
case G_UNICODE_CONTROL:
if (wc != 0x000D && wc != 0x000A && wc != 0x000B && wc != 0x000C && wc != 0x0085)
break;
- /* fall through */
+ G_GNUC_FALLTHROUGH;
case G_UNICODE_LINE_SEPARATOR:
case G_UNICODE_PARAGRAPH_SEPARATOR:
WB_type = WB_NewlineCRLF; /* CR, LF, Newline */