Patch 7.4.1800 (after 7.4.1799)
Problem: Unnecessary #ifdef.
Solution: Just use USE_24BIT. (Ken Takata)
Files: src/syntax.c
*** ../vim-7.4.1799/src/syntax.c 2016-04-29 22:58:25.626876587 +0200
--- src/syntax.c 2016-04-30 12:24:29.496977356 +0200
***************
*** 7795,7807 ****
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
/* In GUI guifg colors are only used when recognized */
i = color_name2handle(arg);
! if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0
! # ifdef FEAT_GUI
! || !(USE_24BIT)
! # else
! || !p_tgc
! # endif
! )
{
HL_TABLE()[idx].sg_gui_fg = i;
# endif
--- 7795,7801 ----
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
/* In GUI guifg colors are only used when recognized */
i = color_name2handle(arg);
! if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 || !USE_24BIT)
{
HL_TABLE()[idx].sg_gui_fg = i;
# endif
*** ../vim-7.4.1799/src/version.c 2016-04-29 22:58:25.626876587 +0200
--- src/version.c 2016-04-30 12:26:13.951782711 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1800,
/**/
--
Dreams are free, but there's a small charge for alterations.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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].
For more options, visit https://groups.google.com/d/optout.