Revert "Fix reverting filtermode on empty directory"

This reverts commit 4337214f50.
This commit is contained in:
Arun Prakash Jana 2022-05-30 22:19:41 +05:30
parent d859e81444
commit 85be28c019
1 changed files with 1 additions and 2 deletions

View File

@ -6907,8 +6907,7 @@ nochange:
/* Cannot descend in empty directories */
if (!ndents) {
cd = FALSE;
if (g_state.selbm)
cfg.filtermode = g_state.selbm - 1;
cfg.filtermode = g_state.selbm - 1;
g_state.selbm = g_state.runplugin = 0;
goto begin;
}