diff src/regexp.c @ 34344:be4389b04043 v9.1.0105

patch 9.1.0105: Style: typos found Commit: https://github.com/vim/vim/commit/e71022082d6a8bd8ec3d7b9dadf3f9ce46ef339c Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Feb 13 20:32:04 2024 +0100 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>
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Feb 2024 20:45:05 +0100
parents 8b5471360746
children 97b5457962ed
line wrap: on
line diff
--- 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;