summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.zig b/src/exec.zig
index 4706d11a..27effda0 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -277,7 +277,7 @@ fn heldPane(p: *Pardes, first: usize, k: usize) ?*Pane {
pub fn heldSelection(p: *Pardes, first: usize) ?[]const u8 {
for (0..p.panes.len + 2) |k| {
const t = heldPane(p, first, k) orelse continue;
- if (comptime pdf_enabled) if (p.native_images) if (t.pdf) |pv| {
+ if (comptime pdf_enabled) if (p.native_images) if (t.pdf) |*pv| {
if (pv.selection != null and pv.selection_text.len > 0)
return pv.selection_text;
};