summaryrefslogtreecommitdiff
path: root/src/body_layer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/body_layer.zig')
-rw-r--r--src/body_layer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/body_layer.zig b/src/body_layer.zig
index bd9e065b..dc5e51bf 100644
--- a/src/body_layer.zig
+++ b/src/body_layer.zig
@@ -476,7 +476,7 @@ pub fn renderBody(p: *Pardes, s: *Surface, arena: std.mem.Allocator, pane: *Pane
}
pub fn bodyText(p: *Pardes, arena: std.mem.Allocator, pane: *Pane) ![]const u8 {
- if (pane.image != null) {
+ if (pane.addon != null) {
const buf = try arena.alloc(u8, pane.rows -| 1);
@memset(buf, '\n');
return buf;