diff options
author | James McCoy <jamessan@jamessan.com> | 2021-12-09 21:09:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 21:09:22 -0500 |
commit | 0cf546508d3bb3f51fc1d440ce5bd798edd70e82 (patch) | |
tree | 52383f48e92a9e8e673347b0e29a3dd1a627d745 /src/nvim/message.c | |
parent | 27648ee21803aabfced13b55b36671c4cf726703 (diff) | |
parent | 05f9f63f2478841f9fa6261c68663797fa9d43f6 (diff) | |
download | rneovim-0cf546508d3bb3f51fc1d440ce5bd798edd70e82.tar.gz rneovim-0cf546508d3bb3f51fc1d440ce5bd798edd70e82.tar.bz2 rneovim-0cf546508d3bb3f51fc1d440ce5bd798edd70e82.zip |
Merge pull request #16547 from pekdon/sunos
Portability improvements, first steps at getting neovim on x86_64 SunOS
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 8a6ac2decc..eaf7e2622a 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -2054,7 +2054,7 @@ static void msg_puts_display(const char_u *str, int maxlen, int attr, int recurs msg_ext_last_attr = attr; } // Concat pieces with the same highlight - size_t len = strnlen((char *)str, maxlen); // -V781 + size_t len = STRNLEN(str, maxlen); // -V781 ga_concat_len(&msg_ext_last_chunk, (char *)str, len); msg_ext_cur_len += len; return; |