diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-09-17 17:36:54 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-09-17 17:36:54 -0400 |
commit | bccca54916aad5b94eed9b619b6af23b36a6aeda (patch) | |
tree | 4b91d0f5a0808fee957c63e3e49a135ad112faa3 | |
parent | 52480fc2f7c6cbb5272d48a0edcd661dee8c411c (diff) | |
download | lite-xl-plugin-manager-bccca54916aad5b94eed9b619b6af23b36a6aeda.tar.gz lite-xl-plugin-manager-bccca54916aad5b94eed9b619b6af23b36a6aeda.zip |
Bugfix.
-rw-r--r-- | src/lpm.lua | 2 |
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 |