From 59d1b897581f20158c18b849ec65ff007a0320fb Mon Sep 17 00:00:00 2001 From: bucket3432 Date: Thu, 6 Aug 2020 17:45:20 -0400 Subject: [PATCH] NecrosCopy: Assign mark before using it --- ua.NecrosCopy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ua.NecrosCopy.lua b/ua.NecrosCopy.lua index 66d1169..dbc274e 100644 --- a/ua.NecrosCopy.lua +++ b/ua.NecrosCopy.lua @@ -589,6 +589,7 @@ function splitbreak(subs,sel) },{"Spaces","Tags","Marker","Skip","Cancel"},{close='Cancel'}) end if P=="Cancel" then ak() end + breakit=false nmbr=rez.num mark=rez.mark text=text:gsub("\\N","") if P=="Spaces" then text=textreplace(text," "," \\N") end if P=="Tags" then @@ -602,7 +603,6 @@ function splitbreak(subs,sel) text=stags..after end if rez.remember then applytoall=P end - breakit=false nmbr=rez.num mark=rez.mark text=text:gsub("({\\[^}]*}) *\\N","\\N%1") end