Match the whole path to enable associations based on a prefix dir

This commit is contained in:
lostd 2015-01-12 00:28:54 +02:00
parent 3b5fe15166
commit 57642a9410
1 changed files with 1 additions and 1 deletions

View File

@ -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);