summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/macos.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/macos.zig b/src/macos.zig
index 3fa018c0..7b996ca3 100644
--- a/src/macos.zig
+++ b/src/macos.zig
@@ -1618,10 +1618,7 @@ export fn pardes_resize(cols_arg: u16, rows_arg: u16, cell_w: u16, cell_h: u16)
st.core.update(.{ .resize = .{
.cols = cols,
.rows = rows,
- .cell_pixels = if (@hasField(pardes.CellPixels, "w"))
- .{ .w = @max(1, cell_w), .h = @max(1, cell_h) }
- else
- .{},
+ .cell_pixels = .{ .w = @max(1, cell_w), .h = @max(1, cell_h) },
} });
}