Patch 8.1.1595

16 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 25, 2019, 6:34:39 PM6/25/19
to vim...@googlegroups.com

Patch 8.1.1595
Problem: MS-Windows with VIMDLL: colors wrong in console.
Solution: Do not set the GUI colors when not using the GUI. (Ken Takata,
closes #4588)
Files: src/syntax.c


*** ../vim-8.1.1594/src/syntax.c 2019-05-28 23:08:12.076648654 +0200
--- src/syntax.c 2019-06-26 00:31:40.549279842 +0200
***************
*** 9554,9559 ****
--- 9554,9563 ----
at_en.ae_u.cterm.bg_color = sgp->sg_cterm_bg;
# ifdef FEAT_TERMGUICOLORS
# ifdef MSWIN
+ # ifdef VIMDLL
+ // Only when not using the GUI.
+ if (!gui.in_use && !gui.starting)
+ # endif
{
int id;
guicolor_T fg, bg;
*** ../vim-8.1.1594/src/version.c 2019-06-25 23:40:24.496494754 +0200
--- src/version.c 2019-06-26 00:31:47.869252898 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1595,
/**/

--
There is a fine line between courage and foolishness.
Unfortunately, it's not a fence.

/// Bram Moolenaar -- Br...@Moolenaar.net -- 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 ///

Ken Takata

unread,
Jun 25, 2019, 7:25:22 PM6/25/19
to vim_dev
Hi,

2019/6/26 Wed 7:34:39 UTC+9 Bram Moolenaar wrote:
> Patch 8.1.1595
> Problem: MS-Windows with VIMDLL: colors wrong in console.
> Solution: Do not set the GUI colors when not using the GUI. (Ken Takata,
> closes #4588)
> Files: src/syntax.c

The commit message is not correct. It should be:

> Problem: MS-Windows with VIMDLL: colors wrong in GUI.
> Solution: Do not set the term GUI colors when using the GUI. (Ken Takata,

Regards,
Ken Takata

Bram Moolenaar

unread,
Jun 25, 2019, 7:41:02 PM6/25/19
to vim...@googlegroups.com, Ken Takata
I'll adjust it.

--
MAN: You don't frighten us, English pig-dog! Go and boil your bottoms,
son of a silly person. I blow my nose on you, so-called Arthur-king,
you and your silly English K...kaniggets.
He puts hands to his ears and blows a raspberry.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Reply all
Reply to author
Forward
0 new messages