mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Revert "Fix reverting filtermode on empty directory"
This reverts commit 4337214f50
.
This commit is contained in:
parent
d859e81444
commit
85be28c019
|
@ -6907,8 +6907,7 @@ nochange:
|
||||||
/* Cannot descend in empty directories */
|
/* Cannot descend in empty directories */
|
||||||
if (!ndents) {
|
if (!ndents) {
|
||||||
cd = FALSE;
|
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;
|
g_state.selbm = g_state.runplugin = 0;
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue