aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/help.c')
-rw-r--r--src/nvim/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/help.c b/src/nvim/help.c
index 7c61a56785..5cc2cda52b 100644
--- a/src/nvim/help.c
+++ b/src/nvim/help.c
@@ -659,7 +659,7 @@ void fix_help_buffer(void)
if (!syntax_present(curwin)) {
for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; lnum++) {
line = ml_get_buf(curbuf, lnum, false);
- const size_t len = STRLEN(line);
+ const size_t len = strlen(line);
if (in_example && len > 0 && !ascii_iswhite(line[0])) {
// End of example: non-white or '<' in first column.
if (line[0] == '<') {