|
Karsten Hopp |
10e4dc |
To: vim-dev@vim.org
|
|
Karsten Hopp |
10e4dc |
Subject: Patch 7.2.434
|
|
Karsten Hopp |
10e4dc |
Fcc: outbox
|
|
Karsten Hopp |
10e4dc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
10e4dc |
Mime-Version: 1.0
|
|
Karsten Hopp |
10e4dc |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
10e4dc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
10e4dc |
------------
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
Patch 7.2.434 (after 7.2.432)
|
|
Karsten Hopp |
10e4dc |
Problem: Compilation fails without the multi-lang feature.
|
|
Karsten Hopp |
10e4dc |
Solution: Add #ifdefs. (Johm Marriott)
|
|
Karsten Hopp |
10e4dc |
Files: src/menu.c
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
*** ../vim-7.2.433/src/menu.c 2010-05-14 22:24:31.000000000 +0200
|
|
Karsten Hopp |
10e4dc |
--- src/menu.c 2010-05-16 12:28:21.000000000 +0200
|
|
Karsten Hopp |
10e4dc |
***************
|
|
Karsten Hopp |
10e4dc |
*** 1340,1346 ****
|
|
Karsten Hopp |
10e4dc |
--- 1340,1348 ----
|
|
Karsten Hopp |
10e4dc |
if (idx == 0) /* first call: start at first item */
|
|
Karsten Hopp |
10e4dc |
{
|
|
Karsten Hopp |
10e4dc |
menu = expand_menu;
|
|
Karsten Hopp |
10e4dc |
+ #ifdef FEAT_MULTI_LANG
|
|
Karsten Hopp |
10e4dc |
should_advance = FALSE;
|
|
Karsten Hopp |
10e4dc |
+ #endif
|
|
Karsten Hopp |
10e4dc |
}
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
/* Skip PopUp[nvoci]. */
|
|
Karsten Hopp |
10e4dc |
***************
|
|
Karsten Hopp |
10e4dc |
*** 1401,1407 ****
|
|
Karsten Hopp |
10e4dc |
--- 1403,1411 ----
|
|
Karsten Hopp |
10e4dc |
if (idx == 0) /* first call: start at first item */
|
|
Karsten Hopp |
10e4dc |
{
|
|
Karsten Hopp |
10e4dc |
menu = expand_menu;
|
|
Karsten Hopp |
10e4dc |
+ #ifdef FEAT_MULTI_LANG
|
|
Karsten Hopp |
10e4dc |
should_advance = FALSE;
|
|
Karsten Hopp |
10e4dc |
+ #endif
|
|
Karsten Hopp |
10e4dc |
}
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
/* Skip Browse-style entries, popup menus and separators. */
|
|
Karsten Hopp |
10e4dc |
***************
|
|
Karsten Hopp |
10e4dc |
*** 1506,1515 ****
|
|
Karsten Hopp |
10e4dc |
--- 1510,1521 ----
|
|
Karsten Hopp |
10e4dc |
char_u *name;
|
|
Karsten Hopp |
10e4dc |
vimmenu_T *menu;
|
|
Karsten Hopp |
10e4dc |
{
|
|
Karsten Hopp |
10e4dc |
+ #ifdef FEAT_MULTI_LANG
|
|
Karsten Hopp |
10e4dc |
if (menu->en_name != NULL
|
|
Karsten Hopp |
10e4dc |
&& (menu_namecmp(name,menu->en_name)
|
|
Karsten Hopp |
10e4dc |
|| menu_namecmp(name,menu->en_dname)))
|
|
Karsten Hopp |
10e4dc |
return TRUE;
|
|
Karsten Hopp |
10e4dc |
+ #endif
|
|
Karsten Hopp |
10e4dc |
return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
|
|
Karsten Hopp |
10e4dc |
}
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
*** ../vim-7.2.433/src/version.c 2010-05-14 23:14:37.000000000 +0200
|
|
Karsten Hopp |
10e4dc |
--- src/version.c 2010-05-16 12:29:40.000000000 +0200
|
|
Karsten Hopp |
10e4dc |
***************
|
|
Karsten Hopp |
10e4dc |
*** 683,684 ****
|
|
Karsten Hopp |
10e4dc |
--- 683,686 ----
|
|
Karsten Hopp |
10e4dc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
10e4dc |
+ /**/
|
|
Karsten Hopp |
10e4dc |
+ 434,
|
|
Karsten Hopp |
10e4dc |
/**/
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
--
|
|
Karsten Hopp |
10e4dc |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
10e4dc |
43. You tell the kids they can't use the computer because "Daddy's got work to
|
|
Karsten Hopp |
10e4dc |
do" and you don't even have a job.
|
|
Karsten Hopp |
10e4dc |
|
|
Karsten Hopp |
10e4dc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
10e4dc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
10e4dc |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
10e4dc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|