summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.033
blob: cffbb45d383091cdb43e4707d32560792573b188 (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
To: vim-dev@vim.org
Subject: Patch 7.3.033
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.033 (after 7.3.032)
Problem:    Can't build without FEAT_LOCALMAP.
Solution:   Add an #ifdef. (John Marriott)
Files:	    src/getchar.c


*** ../vim-7.3.032/src/getchar.c	2010-10-20 21:22:17.000000000 +0200
--- src/getchar.c	2010-10-22 22:09:40.000000000 +0200
***************
*** 5086,5092 ****
--- 5086,5096 ----
  			if (mp_ptr != NULL)
  			    *mp_ptr = mp;
  			if (local_ptr != NULL)
+ #ifdef FEAT_LOCALMAP
  			    *local_ptr = local;
+ #else
+ 			    *local_ptr = 0;
+ #endif
  			return mp->m_str;
  		    }
  		}
*** ../vim-7.3.032/src/version.c	2010-10-20 21:22:17.000000000 +0200
--- src/version.c	2010-10-22 21:18:30.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     33,
  /**/

-- 
Futility Factor: No experiment is ever a complete failure - it can always
serve as a negative example.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///