0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0142

This commit is contained in:
Bram Moolenaar
2005-09-06 19:25:11 +00:00
parent 4440382f3c
commit cafda4f893
25 changed files with 105 additions and 62 deletions

View File

@@ -1105,7 +1105,16 @@ do_search(oap, dirc, pat, count, options)
if (msgbuf != NULL)
{
msgbuf[0] = dirc;
STRCPY(msgbuf + 1, p);
#ifdef FEAT_MBYTE
if (enc_utf8 && utf_iscomposing(utf_ptr2char(p)))
{
/* Use a space to draw the composing char on. */
msgbuf[1] = ' ';
STRCPY(msgbuf + 2, p);
}
else
#endif
STRCPY(msgbuf + 1, p);
if (spats[0].off.line || spats[0].off.end || spats[0].off.off)
{
p = msgbuf + STRLEN(msgbuf);