mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
charset: fix pvs/v1048
This commit is contained in:
@@ -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)) {
|
if (col == 0 || (col + size + sbrlen > (colnr_T)wp->w_width_inner)) {
|
||||||
added = 0;
|
|
||||||
|
|
||||||
if (*p_sbr != NUL) {
|
if (*p_sbr != NUL) {
|
||||||
if (size + sbrlen + numberwidth > (colnr_T)wp->w_width_inner) {
|
if (size + sbrlen + numberwidth > (colnr_T)wp->w_width_inner) {
|
||||||
// Calculate effective window width.
|
// Calculate effective window width.
|
||||||
|
Reference in New Issue
Block a user