diff options
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 4 |
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(); } } |