Skip to content

Commit ac521de

Browse files
bucket3432seproDev
authored andcommitted
NecrosCopy: Assign mark before using it
From unanimated#15
1 parent 31ca1da commit ac521de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ua.NecrosCopy.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ function splitbreak(subs,sel)
589589
},{"Spaces","Tags","Marker","Skip","Cancel"},{close='Cancel'})
590590
end
591591
if P=="Cancel" then ak() end
592+
breakit=false nmbr=rez.num mark=rez.mark
592593
text=text:gsub("\\N","")
593594
if P=="Spaces" then text=textreplace(text," "," \\N") end
594595
if P=="Tags" then
@@ -602,7 +603,6 @@ function splitbreak(subs,sel)
602603
text=stags..after
603604
end
604605
if rez.remember then applytoall=P end
605-
breakit=false nmbr=rez.num mark=rez.mark
606606
text=text:gsub("({\\[^}]*}) *\\N","\\N%1")
607607
end
608608

0 commit comments

Comments
 (0)