aboutsummaryrefslogtreecommitdiff
path: root/dfm.c
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-03-14 14:19:02 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-03-14 14:19:02 +0200
commitdd1f2505cdbc495c45613d14a5777f128c075ca3 (patch)
treea1710726b9595f21c796678419e41791110e6a41 /dfm.c
parent2738107f2af6d789daba7d999595ea9026f7e8d4 (diff)
dfm: fix bug with -p
oops
Diffstat (limited to 'dfm.c')
-rw-r--r--dfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dfm.c b/dfm.c
index bc214d6..acd1fa8 100644
--- a/dfm.c
+++ b/dfm.c
@@ -3808,7 +3808,7 @@ fm_run(struct fm *p)
fm_input(p);
}
fm_term_free(p);
- if (!(p->f & FM_PRINT_PWD)) p->pwd.l = 0;
+ if (!(p->f & (FM_PRINT_PWD|FM_PICKER))) p->pwd.l = 0;
return 0;
}