diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-07-06 17:16:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-07-06 17:16:02 +0000 |
commit | b3c722a01531e39710de0cbbd8bab3004e7e50c9 (patch) | |
tree | 6cf8de52e16e175c60551992c251294a85c9807d /src/message.c | |
parent | 1378fca6082b8928dd3b9b0af66d9d34cf064722 (diff) | |
download | vim-git-b3c722a01531e39710de0cbbd8bab3004e7e50c9.tar.gz |
updated for version 7.2a-015v7.2a.015
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index cb749da7f..41dfffbae 100644 --- a/src/message.c +++ b/src/message.c @@ -1390,8 +1390,10 @@ msg_outtrans_len_attr(msgstr, len, attr) attr); plain_start = str + 1; msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr); + retval += STRLEN(s); } - retval += char2cells(*str); + else + ++retval; ++str; } } |