diff options
Diffstat (limited to 'core/dump.zig')
| -rw-r--r-- | core/dump.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dump.zig b/core/dump.zig index 6f143daa..3b5ed421 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -583,7 +583,7 @@ fn loadAndRevive(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, previ if (notes.items.len > 0) { const first = notes.items[0 .. std.mem.indexOfScalar(u8, notes.items, '\n') orelse notes.items.len]; var buf: [320]u8 = undefined; - p.setMessage(p.view().active, std.fmt.bufPrint(&buf, "a dump of another build: {s}", .{first}) catch "a dump of another build: not all of it was read"); + p.setMessage(.at(p.view().active), std.fmt.bufPrint(&buf, "a dump of another build: {s}", .{first}) catch "a dump of another build: not all of it was read"); } return p; } @@ -694,7 +694,7 @@ fn revivePane(p: *Pardes, id: usize, pane: *pardes.panes.Pane, was_on_disk: bool // Its file gone from disk since the dump: its text is nowhere else, so // it is said deleted, and Del, Exit and Restore ask first. One never on // disk (a name not yet saved) comes back as it was. - if (was_on_disk and !onDisk(p.tape, pane)) pardes.panes.File.deleted(p, @intCast(id)); + if (was_on_disk and !onDisk(p.tape, pane)) pardes.panes.File.deleted(p, .at(id)); } // ---- one pane to and from a dump: the store's, a handover's ---- |
