This commit is contained in:
Gokcehan 2017-08-05 19:25:28 +03:00
parent 458bc71688
commit bc99bf1919

3
nav.go
View File

@ -377,9 +377,8 @@ func match(pattern, name string) (matched bool, err error) {
}
if gOpts.globsearch {
return filepath.Match(pattern, name)
} else {
return strings.Contains(name, pattern), nil
}
return strings.Contains(name, pattern), nil
}
func (nav *nav) searchNext() error {