Skip to content

Commit 1c8df28

Browse files
bnoordhuisevanlucas
authored andcommitted
src: fix -Wimplicit-fallthrough warning
PR-URL: #18205 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 70d6fda commit 1c8df28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_i18n.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,8 @@ static int GetColumnWidth(UChar32 codepoint,
788788
if (ambiguous_as_full_width) {
789789
return 2;
790790
}
791-
// Fall through if ambiguous_as_full_width if false.
791+
// If ambiguous_as_full_width is false:
792+
// Fall through
792793
case U_EA_NEUTRAL:
793794
if (u_hasBinaryProperty(codepoint, UCHAR_EMOJI_PRESENTATION)) {
794795
return 2;

0 commit comments

Comments
 (0)