diff options
Diffstat (limited to 'undo.lua')
-rw-r--r-- | undo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/undo.lua b/undo.lua index 912c949..873feea 100644 --- a/undo.lua +++ b/undo.lua @@ -58,7 +58,7 @@ function snapshot(State, s,e) -- deep copy lines without cached stuff like text fragments for i=s,e do local line = State.lines[i] - table.insert(event.lines, {data=line.data}) + table.insert(event.lines, {data=line.data}) -- I've forgotten: should we deepcopy(line.data)? end return event end |