From 2c87b0dcfe950274f6621d50d0da4c5fbfc76556 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sun, 31 Mar 2019 23:52:39 +0300 Subject: [PATCH] fix hidden sort --- nav.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav.go b/nav.go index 4f480ff..4507d0c 100644 --- a/nav.go +++ b/nav.go @@ -150,7 +150,7 @@ func (dir *dir) sort() { return isHidden(dir.files[i]) }) for i, f := range dir.files { - if isHidden(f) { + if !isHidden(f) { dir.files = dir.files[i:] return }