Skip to content

Commit b26592a

Browse files
committed
patch 9.0.0050: split else-of is confusing
Problem: Split else-of is confusing. Solution: Join the lines. (closes #10696)
1 parent 99af91e commit b26592a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/gui.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,8 +2131,7 @@ gui_outstr(char_u *s, int len)
21312131
if (this_len > len)
21322132
this_len = len; // don't include following composing char
21332133
}
2134-
else
2135-
if (gui.col + len > Columns)
2134+
else if (gui.col + len > Columns)
21362135
this_len = Columns - gui.col;
21372136
else
21382137
this_len = len;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
50,
738740
/**/
739741
49,
740742
/**/

0 commit comments

Comments
 (0)