commit 57642a941010cc523808631bb1ef3c31f7de04ae
parent 3b5fe15166c2c2bd84654e97b3898bb9548472c1
Author: lostd <lostd@2f30.org>
Date: Mon, 12 Jan 2015 00:28:54 +0200
Match the whole path to enable associations based on a prefix dir
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);