Patch 8.2.3535
Problem: If-else indenting is confusing.
Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
Files: src/drawscreen.c
*** ../vim-8.2.3534/src/drawscreen.c 2021-10-08 18:39:23.595208057 +0100
--- src/drawscreen.c 2021-10-18 20:52:15.871708147 +0100
***************
*** 2305,2317 ****
++new_rows;
else
#endif
#ifdef FEAT_DIFF
if (l == wp->w_topline)
! new_rows += plines_win_nofill(wp, l, TRUE)
+ wp->w_topfill;
! else
#endif
! new_rows += plines_win(wp, l, TRUE);
++j;
if (new_rows > wp->w_height - row - 2)
{
--- 2305,2319 ----
++new_rows;
else
#endif
+ {
#ifdef FEAT_DIFF
if (l == wp->w_topline)
! new_rows += plines_win_nofill(wp, l, TRUE)
+ wp->w_topfill;
! else
#endif
! new_rows += plines_win(wp, l, TRUE);
! }
++j;
if (new_rows > wp->w_height - row - 2)
{
*** ../vim-8.2.3534/src/version.c 2021-10-18 14:37:09.674150954 +0100
--- src/version.c 2021-10-18 20:56:23.513479895 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3535,
/**/
--
hundred-and-one symptoms of being an internet addict:
193. You ask your girlfriend to drive home so you can sit back with
your PDA and download the information to your laptop
/// 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/20211018195739.353EAC80053%40moolenaar.net.