Merge pull request #14454 from eltociear/patch-1

screen: fix typo in screen.c
This commit is contained in:
Thomas Vigouroux
2021-06-15 20:06:41 +02:00
committed by GitHub

View File

@@ -1709,7 +1709,7 @@ static void win_update(win_T *wp, Providers *providers)
&& (wp->w_valid & (VALID_WCOL|VALID_WROW)) && (wp->w_valid & (VALID_WCOL|VALID_WROW))
!= (VALID_WCOL|VALID_WROW)) { != (VALID_WCOL|VALID_WROW)) {
// A win_line() call applied a fix to screen cursor column to // A win_line() call applied a fix to screen cursor column to
// accomodate concealment of cursor line, but in this call to // accommodate concealment of cursor line, but in this call to
// update_topline() the cursor's row or column got invalidated. // update_topline() the cursor's row or column got invalidated.
// If they are left invalid, setcursor() will recompute them // If they are left invalid, setcursor() will recompute them
// but there won't be any further win_line() call to re-fix the // but there won't be any further win_line() call to re-fix the