summaryrefslogtreecommitdiff
path: root/src/ninep/cols.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/cols.zig')
-rw-r--r--src/ninep/cols.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/cols.zig b/src/ninep/cols.zig
index 3a7f0dbb..20ee2e3e 100644
--- a/src/ninep/cols.zig
+++ b/src/ninep/cols.zig
@@ -20,7 +20,7 @@ const E = tree.E;
/// else the active pane's. Null when the workspace tag has it and no pane
/// is active.
pub fn activeColumn(p: *const Pardes) ?usize {
- if (p.header_focus) if (p.header_column) |c| return if (c < p.ncol) c else null;
+ if (p.headerColumn()) |c| return if (c < p.ncol) c else null;
const at = layout.findPane(p, p.active) orelse return null;
return at.col;
}