mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.1.0214: Duplicate condition in win_lbr_chartabsize() (#28072)
Problem: Duplicate condition in win_lbr_chartabsize().
Solution: Remove the duplicate condition, as it's already checked above.
(zeertzjq)
closes: vim/vim#14320
5532d3b3f0
This commit is contained in:
parent
070b0b4572
commit
b499ccb2fa
@ -249,7 +249,7 @@ CharSize charsize_regular(CharsizeArg *csarg, char *const cur, colnr_T const vco
|
||||
}
|
||||
csarg->indent_width = head_mid;
|
||||
}
|
||||
if (head_mid > 0 && wcol + size > wp->w_width_inner) {
|
||||
if (head_mid > 0) {
|
||||
// Calculate effective window width.
|
||||
int prev_rem = wp->w_width_inner - wcol;
|
||||
int width = width2 - head_mid;
|
||||
|
Loading…
Reference in New Issue
Block a user