diff options
Diffstat (limited to 'src/layout.zig')
| -rw-r--r-- | src/layout.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout.zig b/src/layout.zig index 3475dbbf..188ac2b8 100644 --- a/src/layout.zig +++ b/src/layout.zig @@ -1739,9 +1739,8 @@ pub fn newColumn(p: *Pardes, from_id: usize) void { const before = p.view().rects; // Said, not silently nothing: "no space" is 9ns's word for ENOSPC. const c = insertColumnUnannounced(p, col, false) orelse { - var said: [96]u8 = undefined; return p.reportFailure(from_id, if (p.view().ncol >= MAX_COLS) - std.fmt.bufPrint(&said, "Newcol: no space for a column: {d} max", .{MAX_COLS}) catch unreachable // an integer and 34 bytes fit 96 + std.fmt.comptimePrint("Newcol: no space for a column: {d} max", .{MAX_COLS}) else "Newcol: no space for a column: this one is too narrow to split"); }; |
