Remember current entry accross filter changes

This commit is contained in:
lostd 2014-11-26 17:42:57 +02:00
parent 55d45dd39d
commit 15a7a78264
1 changed files with 2 additions and 0 deletions

View File

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