charset: fix pvs/v1048

This commit is contained in:
Jan Edmund Lazo 2019-12-22 21:14:04 -05:00
parent 8758e96bf0
commit 0c70aa6509
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
1 changed files with 0 additions and 2 deletions

View File

@ -1087,8 +1087,6 @@ int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *he
}
if (col == 0 || (col + size + sbrlen > (colnr_T)wp->w_width_inner)) {
added = 0;
if (*p_sbr != NUL) {
if (size + sbrlen + numberwidth > (colnr_T)wp->w_width_inner) {
// Calculate effective window width.