changeset 2167:7b875bfb39b8 v7.2.434

updated for version 7.2.434 Problem: Compilation fails without the multi-lang feature. Solution: Add #ifdefs. (Johm Marriott)
author Bram Moolenaar <bram@vim.org>
date Sun, 16 May 2010 12:32:51 +0200
parents 733f0dc510c3
children cf8f86128f4c
files src/menu.c src/version.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/menu.c
+++ b/src/menu.c
@@ -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);
 }
 
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    434,
+/**/
     433,
 /**/
     432,