Browse Source

Fix segfault when a non-matching filter is applied twice

master
lostd 10 years ago
parent
commit
9679e132d4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      noice.c

+ 2
- 1
noice.c View File

@@ -678,7 +678,8 @@ nochange:
filter_re = re;
DPRINTF_S(filter);
/* Save current */
oldpath = makepath(path, dents[cur].name);
if (n > 0)
oldpath = makepath(path, dents[cur].name);
goto out;
case SEL_NEXT:
if (cur < n - 1)


Loading…
Cancel
Save