From 07c55dc7409df5fff1fa2249697048320fa6a17a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 31 Jul 2021 16:07:48 +0100 Subject: [PATCH] split_shell: comment debug also, in 45def53 we fixed a bug with quotes being left behind at the and of a string --- worldeditadditions/utils/strings/split_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/utils/strings/split_shell.lua b/worldeditadditions/utils/strings/split_shell.lua index cb9cab7..c801bdf 100644 --- a/worldeditadditions/utils/strings/split_shell.lua +++ b/worldeditadditions/utils/strings/split_shell.lua @@ -22,7 +22,7 @@ local function split_shell(text) if i < text_length then nextchar = text:sub(i+1, i+1) end if i+1 < text_length then nextnextchar = text:sub(i+2, i+2) end - print("mode", mode, "prevchar", "curchar", curchar, "nextchar", nextchar) + print("mode", mode, "prevchar", prevchar, "curchar", curchar, "nextchar", nextchar) if mode == "NORMAL" then if is_whitespace(curchar) and #acc > 0 then