normalize now properly uses boolean parameters (#1526)
This commit is contained in:
1 parent
ec9bdad90d
commit
d8b7df87cb
1 file changed
+2
-2
@@ -197,11 +197,11 @@ func newDir(path string) *dir {
|
||||
}
|
||||
|
||||
func normalize(s1, s2 string, ignorecase, ignoredia bool) (string, string) {
|
||||
if gOpts.ignorecase {
|
||||
if ignorecase {
|
||||
s1 = strings.ToLower(s1)
|
||||
s2 = strings.ToLower(s2)
|
||||
}
|
||||
if gOpts.ignoredia {
|
||||
if ignoredia {
|
||||
s1 = removeDiacritics(s1)
|
||||
s2 = removeDiacritics(s2)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user