fix a bug in IndexOfUnicodeBlock function

This commit is contained in:
2020-07-04 15:39:15 +08:00
parent 02cb4bb8b3
commit 5e67c0cef7

View File

@@ -342,7 +342,7 @@ namespace hgl
&&ch<UnicodeBlockList[left].end)
return (UnicodeBlock)left;
--left;
++left;
if(ch>UnicodeBlockList[right].begin
&&ch<UnicodeBlockList[right].end)