summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-01-16 14:46:32 +0000
committerBram Moolenaar <Bram@vim.org>2007-01-16 14:46:32 +0000
commit56da797e6d8542f22a74b1b7bb752e7a66d0be7f (patch)
treea999b41478e4ee7ab39d4574ba474907eb432be5
parent84c4d79ad4aa98e1f22742b9896696bb2414b21a (diff)
updated for version 7.0-185v7.0.185
-rw-r--r--src/message.c9
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 3 deletions
diff --git a/src/message.c b/src/message.c
index 2eee604421..0c40823a78 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1556,7 +1556,7 @@ msg_prt_line(s, list)
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;
@@ -1581,7 +1581,7 @@ msg_prt_line(s, list)
while (!got_int)
{
- if (n_extra)
+ if (n_extra > 0)
{
--n_extra;
if (c_extra)
@@ -1595,7 +1595,7 @@ msg_prt_line(s, list)
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;
}
@@ -1635,6 +1635,9 @@ msg_prt_line(s, list)
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)
{
diff --git a/src/version.c b/src/version.c
index d4c093a8bb..cb266270c4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 185,
+/**/
184,
/**/
183,