aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index a95ab6f..3ee658d 100644
--- a/noice.c
+++ b/noice.c
@@ -695,6 +695,8 @@ nochange:
filter = tmp;
filter_re = re;
DPRINTF_S(filter);
+ /* Save current */
+ oldpath = makepath(path, dents[cur].name);
goto out;
case SEL_NEXT:
if (cur < n - 1)