aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-09-02 00:58:30 +0300
committerZviRackover <zvirack@gmail.com>2018-09-09 10:45:50 +0300
commitcbdbc4f63d68a6b17b9eea5c67130e37d3d0f278 (patch)
tree5d82993e830a807647ec81aad1d5a391e4490cb0 /src/nvim/message.c
parent50eadfe2e991a0bb5fe0f98377d91702f0a20492 (diff)
downloadrneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.tar.gz
rneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.tar.bz2
rneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.zip
Refactor: Remove occurences of mb_char2bytes
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 0821ff3489..80f4f1defb 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -1121,7 +1121,7 @@ void msg_putchar_attr(int c, int attr)
buf[2] = (char)K_THIRD(c);
buf[3] = NUL;
} else {
- buf[(*mb_char2bytes)(c, (char_u *)buf)] = NUL;
+ buf[utf_char2bytes(c, (char_u *)buf)] = NUL;
}
msg_puts_attr(buf, attr);
}