mirror of https://github.com/jarun/nnn.git
Reformat checks
This commit is contained in:
parent
359d7bc29c
commit
9df7e5f03e
17
src/nnn.c
17
src/nnn.c
|
@ -6577,14 +6577,15 @@ begin:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (cfgsort[cfg.curctx] == 'z')
|
if (cfgsort[cfg.curctx] != '0') {
|
||||||
set_sort_flags('c');
|
if (cfgsort[cfg.curctx] == 'z')
|
||||||
if (order && (!cfgsort[cfg.curctx] || (cfgsort[cfg.curctx] == 'c'))
|
set_sort_flags('c');
|
||||||
&& ((r = get_kv_key(order, path, maxorder, NNN_ORDER)) > 0)) {
|
if (order && (!cfgsort[cfg.curctx] || (cfgsort[cfg.curctx] == 'c'))
|
||||||
set_sort_flags(r);
|
&& ((r = get_kv_key(order, path, maxorder, NNN_ORDER)) > 0)) {
|
||||||
cfgsort[cfg.curctx] = 'z';
|
set_sort_flags(r);
|
||||||
}
|
cfgsort[cfg.curctx] = 'z';
|
||||||
if (cfgsort[cfg.curctx] == '0')
|
}
|
||||||
|
} else
|
||||||
cfgsort[cfg.curctx] = cfgsort[CTX_MAX];
|
cfgsort[cfg.curctx] = cfgsort[CTX_MAX];
|
||||||
|
|
||||||
populate(path, lastname);
|
populate(path, lastname);
|
||||||
|
|
Loading…
Reference in New Issue