summaryrefslogtreecommitdiff
path: root/src/edit.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.zig')
-rw-r--r--src/edit.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.zig b/src/edit.zig
index 85718293..8691633c 100644
--- a/src/edit.zig
+++ b/src/edit.zig
@@ -350,7 +350,7 @@ pub fn spanHas(r: i32, c: i32, ar: i32, ac: i32, br: i32, bc: i32) bool {
/// the active modal selection as text, if any
pub fn currentSelText(p: *Pardes, pane: *Pane) ?[]const u8 {
- if (comptime pdf_enabled) if (p.native_images) if (pane.pdf) |pv|
+ if (comptime pdf_enabled) if (p.frontend.native_images) if (pane.pdf) |pv|
if (pv.selection != null and pv.selection_text.len > 0) return pv.selection_text;
if (!pane.body.vsel.active) return null;
return vselText(p, &pane.body);