From b26592a84c8f578c8fbe83cf02ebb47453de1683 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 12 Jul 2022 17:34:31 +0100 Subject: [PATCH] patch 9.0.0050: split else-of is confusing Problem: Split else-of is confusing. Solution: Join the lines. (closes #10696) --- src/gui.c | 3 +-- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui.c b/src/gui.c index d7e768f31919d..2275189ba6ee3 100644 --- a/src/gui.c +++ b/src/gui.c @@ -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; diff --git a/src/version.c b/src/version.c index 51e33b4e3cbc7..8df43414052e1 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 50, /**/ 49, /**/