Patch 9.0.0050
Problem:    Split else-if is confusing.
Solution:   Join the lines. (closes #10696)
Files:      src/gui.c


*** ../vim-9.0.0049/src/gui.c   2022-06-29 18:39:05.015841419 +0100
--- src/gui.c   2022-07-12 17:25:37.173652981 +0100
***************
*** 2131,2138 ****
            if (this_len > len)
                this_len = len;     // don't include following composing char
        }
!       else
!           if (gui.col + len > Columns)
            this_len = Columns - gui.col;
        else
            this_len = len;
--- 2131,2137 ----
            if (this_len > len)
                this_len = len;     // don't include following composing char
        }
!       else if (gui.col + len > Columns)
            this_len = Columns - gui.col;
        else
            this_len = len;
*** ../vim-9.0.0049/src/version.c       2022-07-09 20:27:02.943482458 +0100
--- src/version.c       2022-07-12 17:29:24.845362076 +0100
***************
*** 737,738 ****
--- 737,740 ----
  {   /* Add new patch number below this line */
+ /**/
+     50,
  /**/

-- 
>From "know your smileys":
 (X0||)   Double hamburger with lettuce and tomato

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220714161007.24E371C0541%40moolenaar.net.

Raspunde prin e-mail lui