fix a bug in IndexOfUnicodeBlock function
This commit is contained in:
@@ -342,7 +342,7 @@ namespace hgl
|
|||||||
&&ch<UnicodeBlockList[left].end)
|
&&ch<UnicodeBlockList[left].end)
|
||||||
return (UnicodeBlock)left;
|
return (UnicodeBlock)left;
|
||||||
|
|
||||||
--left;
|
++left;
|
||||||
|
|
||||||
if(ch>UnicodeBlockList[right].begin
|
if(ch>UnicodeBlockList[right].begin
|
||||||
&&ch<UnicodeBlockList[right].end)
|
&&ch<UnicodeBlockList[right].end)
|
||||||
|
Reference in New Issue
Block a user