fix: appease linter

This commit is contained in:
Matthieu Coudron
2020-12-23 23:19:33 +01:00
parent 45166313cc
commit 7add3ef996
6 changed files with 124 additions and 118 deletions

View File

@@ -8199,10 +8199,11 @@ static void ex_mark(exarg_T *eap)
*/
void update_topline_cursor(void)
{
check_cursor(); /* put cursor on valid line */
check_cursor(); // put cursor on valid line
update_topline(curwin);
if (!curwin->w_p_wrap)
if (!curwin->w_p_wrap) {
validate_cursor();
}
update_curswant();
}