summaryrefslogtreecommitdiffstats
path: root/src/regexp.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-13 20:32:04 +0100
committerChristian Brabandt <cb@256bit.org>2024-02-13 20:32:04 +0100
commite71022082d6a8bd8ec3d7b9dadf3f9ce46ef339c (patch)
treea9013c4febc347946d49036960b0a9dde4079a0f /src/regexp.c
parent2f9aef42af94f6d68f37f6e9b8cb878e88ed12bf (diff)
patch 9.1.0105: Style: typos foundv9.1.0105
Problem: Style: typos found Solution: correct them (zeertzjq) closes: #14023 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 73552015e9..4373ae0cfa 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1318,8 +1318,7 @@ reg_match_visual(void)
top = curbuf->b_visual.vi_end;
bot = curbuf->b_visual.vi_start;
}
- // a substitue command may have
- // removed some lines
+ // a substitute command may have removed some lines
if (bot.lnum > curbuf->b_ml.ml_line_count)
bot.lnum = curbuf->b_ml.ml_line_count;
mode = curbuf->b_visual.vi_mode;