diff options
author | James McCoy <jamessan@jamessan.com> | 2016-10-12 12:53:44 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-10-12 12:53:44 -0400 |
commit | 6bc3bcefc6ca907d18bd5c8d3667901a62e1285c (patch) | |
tree | d58b3bdd240865385cf2996379690e873be93fd2 /src/nvim/mbyte.c | |
parent | cb351c678bffa061426075ba6068188ce71c4ae6 (diff) | |
parent | 892f55bd20615031132b0ed13b1861be3b645ecc (diff) | |
download | rneovim-6bc3bcefc6ca907d18bd5c8d3667901a62e1285c.tar.gz rneovim-6bc3bcefc6ca907d18bd5c8d3667901a62e1285c.tar.bz2 rneovim-6bc3bcefc6ca907d18bd5c8d3667901a62e1285c.zip |
Merge pull request #5461 from jamessan/emoji-ui-regression
ui: Fix the call to utf_ambiguous_width
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index c08b9e8fcf..e6312f9c00 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1724,7 +1724,7 @@ int utf_class(int c) return 2; } -int utf_ambiguous_width(int c) +bool utf_ambiguous_width(int c) { return c >= 0x80 && (intable(ambiguous, ARRAY_SIZE(ambiguous), c) || intable(emoji_all, ARRAY_SIZE(emoji_all), c)); |