summaryrefslogtreecommitdiffstats
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
commit32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch)
tree4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/autocmd.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index 6ed2971bbb..7e8a6925f9 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();
}
}