diff options
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/hover/hover.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/hover.lua b/script/core/hover/hover.lua index 073886ad..d94c73c2 100644 --- a/script/core/hover/hover.lua +++ b/script/core/hover/hover.lua @@ -325,7 +325,7 @@ local function hoverAsString(source) lines[#lines+1] = lang.script('HOVER_STRING_CHARACTERS', len, charLen) end -- 内部包含转义符? - local rawLen = source.finish - source.start - 2 * #source[2] + local rawLen = source.finish - source.start - 2 * #source[2] + 1 if rawLen > #str then lines[#lines+1] = ([[ |