summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1222
blob: 4d11288643fff548bf5800261aa84d6defbb9bcd (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
64
65
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1222
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.1222 (after 8.1.1219)
Problem:    Build still fails on MS-Windows.
Solution:   Move another declaration to start of block.
Files:	    src/libvterm/src/state.c


*** ../vim-8.1.1221/src/libvterm/src/state.c	2019-04-27 22:38:26.788107972 +0200
--- src/libvterm/src/state.c	2019-04-27 22:43:52.602605129 +0200
***************
*** 1656,1666 ****
    }
  
    if(rows != state->rows) {
      VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo));
      if (newlineinfo == NULL)
        return 0;
  
-     int row;
      for(row = 0; row < state->rows && row < rows; row++) {
        newlineinfo[row] = state->lineinfo[row];
      }
--- 1656,1666 ----
    }
  
    if(rows != state->rows) {
+     int row;
      VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo));
      if (newlineinfo == NULL)
        return 0;
  
      for(row = 0; row < state->rows && row < rows; row++) {
        newlineinfo[row] = state->lineinfo[row];
      }
*** ../vim-8.1.1221/src/version.c	2019-04-27 22:40:03.927661368 +0200
--- src/version.c	2019-04-27 22:44:21.166472794 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1222,
  /**/

-- 
WOMAN:   I didn't know we had a king. I thought we were an autonomous
         collective.
DENNIS:  You're fooling yourself.  We're living in a dictatorship.  A
         self-perpetuating autocracy in which the working classes--
WOMAN:   Oh there you go, bringing class into it again.
DENNIS:  That's what it's all about if only people would--
                                  The Quest for the Holy Grail (Monty Python)

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