summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0123
blob: e9494588fe163a003e78be9b92ec5187ca240c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0123
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0123
Problem:    MS-Windows: colors are wrong after setting 'notgc'.
Solution:   Only call control_console_color_rgb() for the win32 terminal.
            (Nobuhiro Takasaki, closes #3107)
Files:	    src/option.c


*** ../vim-8.1.0122/src/option.c	2018-06-24 23:53:25.153526495 +0200
--- src/option.c	2018-06-28 15:26:10.110799983 +0200
***************
*** 8819,8828 ****
  # endif
  	    highlight_gui_started();
  # ifdef FEAT_VTP
- 	control_console_color_rgb();
  	/* reset t_Co */
  	if (is_term_win32())
  	    set_termname(T_NAME);
  # endif
      }
  #endif
--- 8819,8831 ----
  # endif
  	    highlight_gui_started();
  # ifdef FEAT_VTP
  	/* reset t_Co */
  	if (is_term_win32())
+ 	{
+ 	    control_console_color_rgb();
  	    set_termname(T_NAME);
+ 	    init_highlight(TRUE, FALSE);
+ 	}
  # endif
      }
  #endif
*** ../vim-8.1.0122/src/version.c	2018-06-28 14:54:38.764565527 +0200
--- src/version.c	2018-06-28 15:29:00.809904697 +0200
***************
*** 791,792 ****
--- 791,794 ----
  {   /* Add new patch number below this line */
+ /**/
+     123,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
132. You come back and check this list every half-hour.

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