0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.0-185

This commit is contained in:
Bram Moolenaar 2007-01-16 14:46:32 +00:00
parent 84c4d79ad4
commit 56da797e6d
2 changed files with 8 additions and 3 deletions

View File

@ -1556,7 +1556,7 @@ msg_prt_line(s, list)
int c_extra = 0; int c_extra = 0;
char_u *p_extra = NULL; /* init to make SASC shut up */ char_u *p_extra = NULL; /* init to make SASC shut up */
int n; int n;
int attr= 0; int attr = 0;
char_u *trail = NULL; char_u *trail = NULL;
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE
int l; int l;
@ -1581,7 +1581,7 @@ msg_prt_line(s, list)
while (!got_int) while (!got_int)
{ {
if (n_extra) if (n_extra > 0)
{ {
--n_extra; --n_extra;
if (c_extra) if (c_extra)
@ -1595,7 +1595,7 @@ msg_prt_line(s, list)
col += (*mb_ptr2cells)(s); col += (*mb_ptr2cells)(s);
mch_memmove(buf, s, (size_t)l); mch_memmove(buf, s, (size_t)l);
buf[l] = NUL; buf[l] = NUL;
msg_puts_attr(buf, attr); msg_puts(buf);
s += l; s += l;
continue; continue;
} }
@ -1635,6 +1635,9 @@ msg_prt_line(s, list)
p_extra = transchar_byte(c); p_extra = transchar_byte(c);
c_extra = NUL; c_extra = NUL;
c = *p_extra++; c = *p_extra++;
/* Use special coloring to be able to distinguish <hex> from
* the same in plain text. */
attr = hl_attr(HLF_8);
} }
else if (c == ' ' && trail != NULL && s > trail) else if (c == ' ' && trail != NULL && s > trail)
{ {

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 */
/**/
185,
/**/ /**/
184, 184,
/**/ /**/