Skip to content

Commit

Permalink
fzf-v2: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Oct 27, 2023
1 parent 1723c0c commit 5de6080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algos/fzf_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ where
}
}

if (score + bonus) as i64 > score_left {
if ((score + bonus) as i64) < score_left {
consecutive = 0;
score + bonus_vector[char_idx]
} else {
Expand Down

0 comments on commit 5de6080

Please sign in to comment.