aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 2aa3204..aa0e872 100644
--- a/noice.c
+++ b/noice.c
@@ -645,7 +645,7 @@ nochange:
filter = xstrdup(ifilter);
goto out;
case S_IFREG:
- bin = openwith(name);
+ bin = openwith(newpath);
if (bin == NULL) {
printmsg("No association");
free(newpath);