diff options
Diffstat (limited to 'script/core/find-source.lua')
-rw-r--r-- | script/core/find-source.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/find-source.lua b/script/core/find-source.lua index 26a411e5..99013b31 100644 --- a/script/core/find-source.lua +++ b/script/core/find-source.lua @@ -21,7 +21,7 @@ return function (ast, position, accept) end end local start, finish = guide.getStartFinish(source) - if finish - start < len and accept[source.type] then + if finish - start <= len and accept[source.type] then result = source len = finish - start end |