summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1220
blob: 5a760fb2c49540b20ede49aa602194207c194edc (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
63
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1220
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.1220 (after 8.1.1219)
Problem:    Build fails on MS-Windows.
Solution:   Move declaration to start of block.
Files:	    src/libvterm/src/state.c


*** ../vim-8.1.1219/src/libvterm/src/state.c	2019-04-27 22:06:33.352200698 +0200
--- src/libvterm/src/state.c	2019-04-27 22:36:49.400554045 +0200
***************
*** 1629,1640 ****
    VTermPos delta = { 0, 0 };
  
    if(cols != state->cols) {
      unsigned char *newtabstops = vterm_allocator_malloc(state->vt, (cols + 7) / 8);
      if (newtabstops == NULL)
        return 0;
  
      /* TODO: This can all be done much more efficiently bytewise */
-     int col;
      for(col = 0; col < state->cols && col < cols; col++) {
        unsigned char mask = 1 << (col & 7);
        if(state->tabstops[col >> 3] & mask)
--- 1629,1640 ----
    VTermPos delta = { 0, 0 };
  
    if(cols != state->cols) {
+     int col;
      unsigned char *newtabstops = vterm_allocator_malloc(state->vt, (cols + 7) / 8);
      if (newtabstops == NULL)
        return 0;
  
      /* TODO: This can all be done much more efficiently bytewise */
      for(col = 0; col < state->cols && col < cols; col++) {
        unsigned char mask = 1 << (col & 7);
        if(state->tabstops[col >> 3] & mask)
*** ../vim-8.1.1219/src/version.c	2019-04-27 22:06:33.352200698 +0200
--- src/version.c	2019-04-27 22:38:18.324146810 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1220,
  /**/

-- 
The question is:  What do you do with your life?
The wrong answer is: Become the richest guy in the graveyard.
				(billionaire and Oracle founder Larry Ellison)

 /// 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    ///