aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-03-26 17:25:03 +0300
committerZyX <kp-pav@yandex.ru>2017-06-27 01:34:54 +0300
commitd82741f8c04d003bb9925d9c46d7e07179810ed4 (patch)
tree49657c2f8e90cac515c20bf366c5d71d363ef9a1 /src/nvim/mbyte.c
parent3d25200127bfec90982e82cb3d1fb65f8faff257 (diff)
downloadrneovim-d82741f8c04d003bb9925d9c46d7e07179810ed4.tar.gz
rneovim-d82741f8c04d003bb9925d9c46d7e07179810ed4.tar.bz2
rneovim-d82741f8c04d003bb9925d9c46d7e07179810ed4.zip
ex_getln: Add some more tests, fix some found errors
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index d5907da2ed..862ca7ea1a 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -75,7 +75,7 @@ struct interval {
/*
* Like utf8len_tab above, but using a zero for illegal lead bytes.
*/
-static uint8_t utf8len_tab_zero[256] =
+const uint8_t utf8len_tab_zero[256] =
{
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,