From 57642a941010cc523808631bb1ef3c31f7de04ae Mon Sep 17 00:00:00 2001 From: lostd Date: Mon, 12 Jan 2015 00:28:54 +0200 Subject: [PATCH] Match the whole path to enable associations based on a prefix dir --- noice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noice.c b/noice.c index 2aa32049..aa0e8723 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);