aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-04 20:31:57 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-05 20:34:17 +0530
commit6816e83e836c43689c28d3b11a9abce27a81a1f2 (patch)
tree2013ed403fa78501e072d8cfe63d9c0fcf4a96d1
parentaba65572462049cec1a03a5a7c89c490c523177d (diff)
downloadnnn-6816e83e836c43689c28d3b11a9abce27a81a1f2.tar.gz
Code refactor
-rw-r--r--src/nnn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 5cebd77..1ebdecd 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1497,9 +1497,7 @@ static int entrycmp(const void *va, const void *vb)
if (pb->size < pa->size)
return -1;
- }
-
- if (cfg.blkorder) {
+ } else if (cfg.blkorder) {
if (pb->blocks > pa->blocks)
return 1;