Patch 8.2.3538
Problem: Else-if indenting is confusing.
Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
Files: src/highlight.c
*** ../vim-8.2.3537/src/highlight.c 2021-10-18 22:13:53.468428157 +0100
--- src/highlight.c 2021-10-19 13:42:56.339353529 +0100
***************
*** 2819,2828 ****
attr = HL_TABLE()[id - 1].sg_gui;
else
#endif
! if (modec == 'c')
! attr = HL_TABLE()[id - 1].sg_cterm;
! else
! attr = HL_TABLE()[id - 1].sg_term;
if (attr & flag)
return (char_u *)"1";
--- 2819,2830 ----
attr = HL_TABLE()[id - 1].sg_gui;
else
#endif
! {
! if (modec == 'c')
! attr = HL_TABLE()[id - 1].sg_cterm;
! else
! attr = HL_TABLE()[id - 1].sg_term;
! }
if (attr & flag)
return (char_u *)"1";
*** ../vim-8.2.3537/src/version.c 2021-10-19 11:15:36.118656545 +0100
--- src/version.c 2021-10-19 13:44:17.552774743 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3538,
/**/
--
Some of the well known MS-Windows errors:
ETIME Wrong time, wait a little while
ECRASH Try again...
EDETECT Unable to detect errors
EOVER You lost! Play another game?
ENOCLUE Eh, what did you want?
/// 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/20211019124523.7A1ABC80055%40moolenaar.net.