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

View file

@ -645,7 +645,7 @@ nochange:
filter = xstrdup(ifilter); filter = xstrdup(ifilter);
goto out; goto out;
case S_IFREG: case S_IFREG:
bin = openwith(name); bin = openwith(newpath);
if (bin == NULL) { if (bin == NULL) {
printmsg("No association"); printmsg("No association");
free(newpath); free(newpath);