diff options
Diffstat (limited to 'script-beta/core/hover/label.lua')
-rw-r--r-- | script-beta/core/hover/label.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/hover/label.lua b/script-beta/core/hover/label.lua index dcfc21c3..5798317f 100644 --- a/script-beta/core/hover/label.lua +++ b/script-beta/core/hover/label.lua @@ -95,7 +95,7 @@ local function asString(source) return '' end local len = #str - local charLen = utf8.len(str, 1, -1, true) + local charLen = util.utf8Len(str, 1, -1) -- TODO 翻译 if len == charLen then return ('%d 个字节'):format(len) |