patch 9.1.0105: Style: typos found
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>
diff --git a/src/regexp.c b/src/regexp.c
index 7355201..4373ae0 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1318,8 +1318,7 @@
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;