diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-01-17 17:32:47 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-01-19 15:05:49 +0300 |
commit | 11a26e1b2e49c2b72ed0510d16b00722edcd0b0c (patch) | |
tree | 40b891160268400eda8e7675acafe6cdbf08deaf /src/node_i18n.cc | |
parent | 5f6478759b6bd25c927a1ceb53e78dc2db61dec6 (diff) |
src: fix -Wimplicit-fallthrough warning
PR-URL: https://github.com/nodejs/node/pull/18205
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_i18n.cc')
-rw-r--r-- | src/node_i18n.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_i18n.cc b/src/node_i18n.cc index 041eda94f3b..71ae6a00033 100644 --- a/src/node_i18n.cc +++ b/src/node_i18n.cc @@ -788,7 +788,8 @@ static int GetColumnWidth(UChar32 codepoint, if (ambiguous_as_full_width) { return 2; } - // Fall through if ambiguous_as_full_width if false. + // If ambiguous_as_full_width is false: + // Fall through case U_EA_NEUTRAL: if (u_hasBinaryProperty(codepoint, UCHAR_EMOJI_PRESENTATION)) { return 2; |