Skip to content

Commit

Permalink
fix: in "copy to" statement check for source existance
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Jan 8, 2025
1 parent 17c7f4f commit 4e05dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/zencode_when.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ end)
local function move_or_copy_to(src, dest, enc)
empty(dest)
if not enc then
ACK[dest] = deepcopy(ACK[src])
ACK[dest] = deepcopy(have(src))
new_codec(dest, { }, src)
else
ACK[dest] = apply_encoding(src, enc, "string")
Expand Down

0 comments on commit 4e05dd6

Please sign in to comment.