aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar lostd <lostd@2f30.org>2015-01-12 00:28:54 +0200
committerGravatar lostd <lostd@2f30.org>2015-01-12 00:28:54 +0200
commit57642a941010cc523808631bb1ef3c31f7de04ae (patch)
tree1b4634e5abb3ce454bcf8ebc58e325b22bd16303
parent3b5fe15166c2c2bd84654e97b3898bb9548472c1 (diff)
downloadnnn-57642a941010cc523808631bb1ef3c31f7de04ae.tar.gz
Match the whole path to enable associations based on a prefix dir
-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);