From 32aa10203bd0b4b270def03311a4599f9ffdecc4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Nov 2019 22:54:41 +0100 Subject: patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit. --- src/autocmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/autocmd.c') diff --git a/src/autocmd.c b/src/autocmd.c index 6ed2971bb..7e8a6925f 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -1584,8 +1584,8 @@ win_found: curbuf = curwin->w_buffer; if (win_valid(aco->save_prevwin)) prevwin = aco->save_prevwin; - // In case the autocommand move the cursor to a position that that - // not exist in curbuf. + // In case the autocommand moves the cursor to a position that + // does not exist in curbuf. check_cursor(); } } -- cgit v1.2.1