summaryrefslogtreecommitdiff
path: root/core/rollback.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/rollback.zig')
-rw-r--r--core/rollback.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/rollback.zig b/core/rollback.zig
index 61fb7b89..2702594c 100644
--- a/core/rollback.zig
+++ b/core/rollback.zig
@@ -249,7 +249,8 @@ pub const Epoch = struct {
const cut = e.taken.items[w.at..][0..w.cut];
if (w.index) {
const room = @as([*]usize, @ptrFromInt(w.addr))[0..w.room];
- pardes.panes.File.shiftStarts(room, w.len, w.was, w.off, w.ins, cut);
+ // The text's widest is the copy's, put back with it.
+ _ = pardes.panes.File.shiftStarts(room, w.len, w.was, w.off, w.ins, cut);
} else {
const room = @as([*]u8, @ptrFromInt(w.addr))[0..w.room];
const tail = w.len - w.off - w.ins;