From 400d98c84b274183330e417f86aaf13e7b55adbe Mon Sep 17 00:00:00 2001 From: Eren Okka Date: Sun, 27 Jun 2021 19:18:10 +0300 Subject: [PATCH] Fix MSVC warning C4819 --- include/fmt/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 22bb4b5bbcd6..97ba0f2fa78d 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -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