Remove W_NEXT use ->w_next

This commit is contained in:
Wayne Rowcliffe
2014-09-19 23:31:20 -05:00
parent 9b6f192693
commit 7aca07b0a7
3 changed files with 2 additions and 3 deletions

View File

@@ -6927,7 +6927,7 @@ int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear)
/* deletion will have messed up other windows */
if (did_delete) {
wp->w_redr_status = TRUE;
win_rest_invalid(W_NEXT(wp));
win_rest_invalid(wp->w_next);
}
return FAIL;
}