summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
commit56be950094e10e68da1f901ba971c5f3e9821685 (patch)
tree9b77adba1105bac626534bfa85c5d72e187f53ac /src/menu.c
parent860cae1cec85aeb06668a2b071727c43869acf15 (diff)
downloadvim-git-56be950094e10e68da1f901ba971c5f3e9821685.tar.gz
Fix a few compiler warnings. Fix crash with encrypted undo file.
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c
index f01a34e34..3ab957cf6 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -56,10 +56,10 @@ static char_u *menu_skip_part __ARGS((char_u *p));
#endif
#ifdef FEAT_MULTI_LANG
static char_u *menutrans_lookup __ARGS((char_u *name, int len));
+static void menu_unescape_name __ARGS((char_u *p));
#endif
static char_u *menu_translate_tab_and_shift __ARGS((char_u *arg_start));
-static void menu_unescape_name __ARGS((char_u *p));
/* The character for each menu mode */
static char_u menu_mode_chars[] = {'n', 'v', 's', 'o', 'i', 'c', 't'};
@@ -2525,7 +2525,6 @@ menutrans_lookup(name, len)
return NULL;
}
-#endif /* FEAT_MULTI_LANG */
/*
* Unescape the name in the translate dictionary table.
@@ -2540,6 +2539,7 @@ menu_unescape_name(name)
if (*p == '\\')
STRMOVE(p, p + 1);
}
+#endif /* FEAT_MULTI_LANG */
/*
* Isolate the menu name.