0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

updated for version 7.2-085

This commit is contained in:
Bram Moolenaar
2009-01-22 17:33:49 +00:00
parent d72b386a63
commit 6768a3305a
2 changed files with 11 additions and 1 deletions

View File

@@ -4920,7 +4920,15 @@ check_termcode(max_offset, buf, buflen)
key_name[0] = KEY2TERMCAP0(key);
key_name[1] = KEY2TERMCAP1(key);
if (key_name[0] == KS_KEY)
string[new_slen++] = key_name[1]; /* from ":set <M-b>=xx" */
{
/* from ":set <M-b>=xx" */
#ifdef FEAT_MBYTE
if (has_mbyte)
new_slen += (*mb_char2bytes)(key_name[1], string + new_slen);
else
#endif
string[new_slen++] = key_name[1];
}
else
{
string[new_slen++] = K_SPECIAL;

View File

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