aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/search.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-core/src/search.rs b/helix-core/src/search.rs
index 7dd2f4fc..73be68c7 100644
--- a/helix-core/src/search.rs
+++ b/helix-core/src/search.rs
@@ -41,7 +41,6 @@ pub fn find_nth_prev(
inclusive: bool,
) -> Option<usize> {
// start searching right before pos
- pos = pos.saturating_sub(1);
let mut chars = text.chars_at(pos);
for _ in 0..n {