diff src/option.c @ 14806:7cc2d28778ac v8.1.0415

patch 8.1.0415: not actually using 16 colors with vtp commit https://github.com/vim/vim/commit/d4f73438bb6c88a0d3e315f0eebef30993b5921c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 21 12:24:12 2018 +0200 patch 8.1.0415: not actually using 16 colors with vtp Problem: Not actually using 16 colors with vtp. Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki, closes #3432)
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Sep 2018 12:30:06 +0200
parents cca823b02a04
children 10107703b9b2
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -7785,8 +7785,6 @@ did_set_string_option(
 #if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS)
     if (did_swaptcap)
     {
-	if (t_colors < 256)
-	    p_tgc = 0;
 	set_termname((char_u *)"win32");
 	init_highlight(TRUE, FALSE);
     }