aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/noice.c b/noice.c
index 4f48b2f..897bcb9 100644
--- a/noice.c
+++ b/noice.c
@@ -601,7 +601,6 @@ nochange:
goto nochange;
name = dents[cur].name;
-
DPRINTF_S(name);
/* Get path info */
@@ -611,6 +610,7 @@ nochange:
goto nochange;
}
DPRINTF_U(sb.st_mode);
+
switch (sb.st_mode & S_IFMT) {
case S_IFDIR:
free(path);
@@ -624,7 +624,6 @@ nochange:
cur = 0;
goto out;
case S_IFREG:
- /* Open with */
bin = openwith(name);
if (bin == NULL) {
printmsg("No association");