diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-22 19:39:39 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-22 19:39:39 +0300 |
commit | 9c981f5a1986542dba2bdb200894baaa7780ec4a (patch) | |
tree | 1463bb144cda1926986b20b06af64b174ced2bef /src | |
parent | e3bffa47a682362e19426b5d936a911d8b12d557 (diff) | |
download | rneovim-9c981f5a1986542dba2bdb200894baaa7780ec4a.tar.gz rneovim-9c981f5a1986542dba2bdb200894baaa7780ec4a.tar.bz2 rneovim-9c981f5a1986542dba2bdb200894baaa7780ec4a.zip |
screen: Fix PVS/V560: condition was checked in surrounding if
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 0672187975..9c3ac29250 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -3542,8 +3542,7 @@ win_line ( tab_len += vcol_off; } // boguscols before FIX_FOR_BOGUSCOLS macro from above. - if (wp->w_p_list && lcs_tab1 && old_boguscols > 0 - && n_extra > tab_len) { + if (lcs_tab1 && old_boguscols > 0 && n_extra > tab_len) { tab_len += n_extra - tab_len; } |