]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-085 v7.2.085
authorBram Moolenaar <Bram@vim.org>
Thu, 22 Jan 2009 17:33:49 +0000 (17:33 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Jan 2009 17:33:49 +0000 (17:33 +0000)
src/term.c
src/version.c

index f79514488111c707755c1bbff5a2eb2556cc46cd..496e2fface623c38776f23c201fa0c43e0c2aa90 100644 (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;
index 7171a655f99159c3361beb8df9533662cae1e291..585940887511d9bfc66463e28722c220a3fcf131 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    85,
 /**/
     84,
 /**/