0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0050: split else-of is confusing

Problem:    Split else-of is confusing.
Solution:   Join the lines. (closes #10696)
This commit is contained in:
Bram Moolenaar
2022-07-12 17:34:31 +01:00
parent 99af91e582
commit b26592a84c
2 changed files with 3 additions and 2 deletions

View File

@@ -2131,8 +2131,7 @@ gui_outstr(char_u *s, int len)
if (this_len > len)
this_len = len; // don't include following composing char
}
else
if (gui.col + len > Columns)
else if (gui.col + len > Columns)
this_len = Columns - gui.col;
else
this_len = len;