Skip to content

Commit

Permalink
Fix MSVC warning C4819
Browse files Browse the repository at this point in the history
  • Loading branch information
erengy authored and vitaut committed Jun 28, 2021
1 parent c6b1f18 commit c3c27e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ FMT_CONSTEXPR inline size_t compute_width(string_view s) {
1 +
(error == 0 && cp >= 0x1100 &&
(cp <= 0x115f || // Hangul Jamo init. consonants
cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET
cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET
// CJK ... Yi except Unicode Character “〿”:
cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET
cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET
// CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
(cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
(cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables
(cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs
Expand Down

0 comments on commit c3c27e5

Please sign in to comment.