int c_extra = 0;
char_u *p_extra = NULL; /* init to make SASC shut up */
int n;
- int attr= 0;
+ int attr = 0;
char_u *trail = NULL;
#ifdef FEAT_MBYTE
int l;
while (!got_int)
{
- if (n_extra)
+ if (n_extra > 0)
{
--n_extra;
if (c_extra)
col += (*mb_ptr2cells)(s);
mch_memmove(buf, s, (size_t)l);
buf[l] = NUL;
- msg_puts_attr(buf, attr);
+ msg_puts(buf);
s += l;
continue;
}
p_extra = transchar_byte(c);
c_extra = NUL;
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)
{