]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.434
- new
[packages/vim.git] / 7.2.434
CommitLineData
e7d66cb1
AM
1To: vim-dev@vim.org
2Subject: Patch 7.2.434
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.434 (after 7.2.432)
11Problem: Compilation fails without the multi-lang feature.
12Solution: Add #ifdefs. (Johm Marriott)
13Files: src/menu.c
14
15
16*** ../vim-7.2.433/src/menu.c 2010-05-14 22:24:31.000000000 +0200
17--- src/menu.c 2010-05-16 12:28:21.000000000 +0200
18***************
19*** 1340,1346 ****
20--- 1340,1348 ----
21 if (idx == 0) /* first call: start at first item */
22 {
23 menu = expand_menu;
24+ #ifdef FEAT_MULTI_LANG
25 should_advance = FALSE;
26+ #endif
27 }
28
29 /* Skip PopUp[nvoci]. */
30***************
31*** 1401,1407 ****
32--- 1403,1411 ----
33 if (idx == 0) /* first call: start at first item */
34 {
35 menu = expand_menu;
36+ #ifdef FEAT_MULTI_LANG
37 should_advance = FALSE;
38+ #endif
39 }
40
41 /* Skip Browse-style entries, popup menus and separators. */
42***************
43*** 1506,1515 ****
44--- 1510,1521 ----
45 char_u *name;
46 vimmenu_T *menu;
47 {
48+ #ifdef FEAT_MULTI_LANG
49 if (menu->en_name != NULL
50 && (menu_namecmp(name,menu->en_name)
51 || menu_namecmp(name,menu->en_dname)))
52 return TRUE;
53+ #endif
54 return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
55 }
56
57*** ../vim-7.2.433/src/version.c 2010-05-14 23:14:37.000000000 +0200
58--- src/version.c 2010-05-16 12:29:40.000000000 +0200
59***************
60*** 683,684 ****
61--- 683,686 ----
62 { /* Add new patch number below this line */
63+ /**/
64+ 434,
65 /**/
66
67--
68hundred-and-one symptoms of being an internet addict:
6943. You tell the kids they can't use the computer because "Daddy's got work to
70 do" and you don't even have a job.
71
72 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
73/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74\\\ download, build and distribute -- http://www.A-A-P.org ///
75 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.042178 seconds and 4 git commands to generate.