aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-09-17 17:36:54 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-09-17 17:36:54 -0400
commitbccca54916aad5b94eed9b619b6af23b36a6aeda (patch)
tree4b91d0f5a0808fee957c63e3e49a135ad112faa3 /src/lpm.lua
parent52480fc2f7c6cbb5272d48a0edcd661dee8c411c (diff)
downloadlite-xl-plugin-manager-bccca54916aad5b94eed9b619b6af23b36a6aeda.tar.gz
lite-xl-plugin-manager-bccca54916aad5b94eed9b619b6af23b36a6aeda.zip
Bugfix.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 4f44401..7a4075d 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -2186,7 +2186,7 @@ not commonly used publically.
offset = e + 1
end
s,e = ARGS["table"]:find("%s*,%s*", offset)
- if not e then s,e = #ARGS["table"],#ARGS["table"] end
+ if not e then s,e = #ARGS["table"]+1, #ARGS["table"] end
if offset >= e then break end
TABLE[i] = ARGS["table"]:sub(offset, s - 1)
offset = e + 1