From 2c52d35ef10900e7f3022732626e7069cf61ecf8 Mon Sep 17 00:00:00 2001 From: berryplus Date: Sun, 27 Jan 2019 16:56:23 +0900 Subject: [PATCH] =?UTF-8?q?IsLetDig=E3=81=AE=E5=88=A4=E5=AE=9A=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sakura_core/util/string_ex.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sakura_core/util/string_ex.cpp b/sakura_core/util/string_ex.cpp index a9830ad4b3..c0b75025f4 100644 --- a/sakura_core/util/string_ex.cpp +++ b/sakura_core/util/string_ex.cpp @@ -1417,7 +1417,8 @@ inline static bool IsLetDig( _In_ const wchar_t ch ) noexcept { - return ch <= 0xFF && ::isalnum( ch ); + // コードポイントがASCII範囲、かつ、isalnumがtrueを返す場合にtrue. + return ch <= 0x7F && ::isalnum( ch ); } /*