mirror of
https://github.com/junegunn/fzf
synced 2026-08-11 20:11:42 +00:00
Minor refactoring
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ func ExactMatchNaive(caseSensitive bool, input *string, pattern []rune) (int, in
|
||||
runes := []rune(*input)
|
||||
numRunes := len(runes)
|
||||
plen := len(pattern)
|
||||
if len(runes) < plen {
|
||||
if numRunes < plen {
|
||||
return -1, -1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user