]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0050: split else-of is confusing v9.0.0050
authorBram Moolenaar <Bram@vim.org>
Tue, 12 Jul 2022 16:34:31 +0000 (17:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 12 Jul 2022 16:34:31 +0000 (17:34 +0100)
Problem:    Split else-of is confusing.
Solution:   Join the lines. (closes #10696)

src/gui.c
src/version.c

index d7e768f31919d091e4e76aefe703ab661bba4c1c..2275189ba6ee3a8ae7b3190cc9dbe0dd4f772313 100644 (file)
--- 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;
index 51e33b4e3cbc73778ff6df64d0e0913b71a65778..8df43414052e14ab9e7938e453010d7f72e83026 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    50,
 /**/
     49,
 /**/