0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0-089

This commit is contained in:
Bram Moolenaar
2006-09-05 16:30:40 +00:00
parent c218a2e9e3
commit 1f788e7c43
2 changed files with 11 additions and 3 deletions

View File

@@ -95,7 +95,10 @@ do_ascii(eap)
_("<%s>%s%s %d, Hex %02x, Octal %03o"), _("<%s>%s%s %d, Hex %02x, Octal %03o"),
transchar(c), buf1, buf2, c, c, c); transchar(c), buf1, buf2, c, c, c);
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE
if (enc_utf8)
c = cc[ci++]; c = cc[ci++];
else
c = 0;
#endif #endif
} }
@@ -108,7 +111,7 @@ do_ascii(eap)
if (len > 0) if (len > 0)
IObuff[len++] = ' '; IObuff[len++] = ' ';
IObuff[len++] = '<'; IObuff[len++] = '<';
if (utf_iscomposing(c) if (enc_utf8 && utf_iscomposing(c)
# ifdef USE_GUI # ifdef USE_GUI
&& !gui.in_use && !gui.in_use
# endif # endif
@@ -120,7 +123,10 @@ do_ascii(eap)
: _("> %d, Hex %08x, Octal %o"), c, c, c); : _("> %d, Hex %08x, Octal %o"), c, c, c);
if (ci == MAX_MCO) if (ci == MAX_MCO)
break; break;
if (enc_utf8)
c = cc[ci++]; c = cc[ci++];
else
c = 0;
} }
#endif #endif

View File

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