summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-29 14:16:06 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-29 14:16:06 +0000
commit89bf0927af4c8c3bbd2b9ae4558e0a581380d83f (patch)
tree15c82ecbbed213d7135add0c437c39a33e8b3805 /src/message.c
parent0d1498ea69faad513f7e55c74c220990f9d89996 (diff)
downloadvim-git-89bf0927af4c8c3bbd2b9ae4558e0a581380d83f.tar.gz
updated for version 7.2a-010v7.2a.010
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 66936cda3..cb749da7f 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1391,7 +1391,7 @@ msg_outtrans_len_attr(msgstr, len, attr)
plain_start = str + 1;
msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
}
- retval += ptr2cells(str);
+ retval += char2cells(*str);
++str;
}
}