From 6b682f2df0dcd76b70c4357e21045ea2175c146b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 29 Jul 2021 16:06:23 +0800 Subject: fix --- script/core/command/removeSpace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/core') diff --git a/script/core/command/removeSpace.lua b/script/core/command/removeSpace.lua index 2ef178f3..b94f9788 100644 --- a/script/core/command/removeSpace.lua +++ b/script/core/command/removeSpace.lua @@ -26,7 +26,7 @@ return function (data) local pos = line:find '[ \t]+$' if pos then local start, finish = guide.lineRange(lines, i, true) - start = start + pos - 1 + start = start + pos if isInString(ast, start) then goto NEXT_LINE end -- cgit v1.2.3