summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0287
blob: 39b473cf59adbb626a036f23e302c8e0850a0563 (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
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0287
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.0287
Problem:    MAX is not defined everywhere.
Solution:   Define MAX where needed.
Files:	    src/ex_getln.c


*** ../vim-8.1.0286/src/ex_getln.c	2018-08-14 21:32:17.618865046 +0200
--- src/ex_getln.c	2018-08-14 22:06:55.372214929 +0200
***************
*** 13,18 ****
--- 13,22 ----
  
  #include "vim.h"
  
+ #ifndef MAX
+ # define MAX(x,y) ((x) > (y) ? (x) : (y))
+ #endif
+ 
  /*
   * Variables shared between getcmdline(), redrawcmdline() and others.
   * These need to be saved when using CTRL-R |, that's why they are in a
*** ../vim-8.1.0286/src/version.c	2018-08-14 21:32:17.622865020 +0200
--- src/version.c	2018-08-14 22:07:40.275897998 +0200
***************
*** 796,797 ****
--- 796,799 ----
  {   /* Add new patch number below this line */
+ /**/
+     287,
  /**/

-- 
BEDEVERE: Stand by for attack!!
   [CUT TO enormous army forming up.  Trebuchets, rows of PIKEMEN, siege
   towers, pennants flying, shouts of "Stand by for attack!"  Traditional
   army build-up shots.  The shouts echo across the ranks of the army.
   We see various groups reacting, and stirring themselves in readiness.]
ARTHUR:   Who are they?
BEDEVERE: Oh, just some friends!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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