summaryrefslogtreecommitdiff
path: root/src/macos.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos.zig')
-rw-r--r--src/macos.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos.zig b/src/macos.zig
index 17b1bf35..96ef4f1e 100644
--- a/src/macos.zig
+++ b/src/macos.zig
@@ -2093,7 +2093,7 @@ fn activeFilePath(st: *State) ?[]const u8 {
const pane = st.core.panes[st.core.active] orelse return null;
if (pane.file) |*f| return if (f.output == null) f.path else null;
if (comptime pardes.pdf_enabled) if (pane.pdfPath()) |path| return path;
- if (pane.image) |*iv| return iv.path;
+ if (pane.addon) |k| return k.path;
return null;
}