0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.2.434

Problem:    Compilation fails without the multi-lang feature.
Solution:   Add #ifdefs. (Johm Marriott)
This commit is contained in:
Bram Moolenaar
2010-05-16 12:32:51 +02:00
parent 23d99ec5f7
commit 546b35e190
2 changed files with 8 additions and 0 deletions

View File

@@ -1340,7 +1340,9 @@ get_menu_name(xp, idx)
if (idx == 0) /* first call: start at first item */
{
menu = expand_menu;
#ifdef FEAT_MULTI_LANG
should_advance = FALSE;
#endif
}
/* Skip PopUp[nvoci]. */
@@ -1401,7 +1403,9 @@ get_menu_names(xp, idx)
if (idx == 0) /* first call: start at first item */
{
menu = expand_menu;
#ifdef FEAT_MULTI_LANG
should_advance = FALSE;
#endif
}
/* Skip Browse-style entries, popup menus and separators. */
@@ -1506,10 +1510,12 @@ menu_name_equal(name, menu)
char_u *name;
vimmenu_T *menu;
{
#ifdef FEAT_MULTI_LANG
if (menu->en_name != NULL
&& (menu_namecmp(name,menu->en_name)
|| menu_namecmp(name,menu->en_dname)))
return TRUE;
#endif
return menu_namecmp(name, menu->name) || menu_namecmp(name, menu->dname);
}

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
434,
/**/
433,
/**/