0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -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"),
transchar(c), buf1, buf2, c, c, c);
#ifdef FEAT_MBYTE
c = cc[ci++];
if (enc_utf8)
c = cc[ci++];
else
c = 0;
#endif
}
@@ -108,7 +111,7 @@ do_ascii(eap)
if (len > 0)
IObuff[len++] = ' ';
IObuff[len++] = '<';
if (utf_iscomposing(c)
if (enc_utf8 && utf_iscomposing(c)
# ifdef USE_GUI
&& !gui.in_use
# endif
@@ -120,7 +123,10 @@ do_ascii(eap)
: _("> %d, Hex %08x, Octal %o"), c, c, c);
if (ci == MAX_MCO)
break;
c = cc[ci++];
if (enc_utf8)
c = cc[ci++];
else
c = 0;
}
#endif