summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs.zig b/src/fs.zig
index 207f1018..3e80fc1b 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -1481,7 +1481,7 @@ pub fn unmount(p: *Pardes, name: []const u8) !void {
const pane = slot orelse continue;
const paths = [_][]const u8{
if (pane.file) |file| file.path else "",
- if (comptime pardes.pdf_enabled) (if (pane.pdf) |pdf| pdf.path else "") else "",
+ if (comptime pardes.pdf_enabled) (if (pane.pdf) |*pdf| pdf.path else "") else "",
if (pane.image) |image| image.path else "",
Pardes.paneDir(pane),
};