patch 9.1.0581: Various lines are indented inconsistently

Problem:  style: Various lines are indented inconsistently
Solution: Retab these lines and correct some comments.
          (zeertzjq)

closes: #15259

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-07-14 10:20:20 +02:00
committed by Christian Brabandt
parent 90a800274d
commit d9be94cf03
22 changed files with 55 additions and 54 deletions

View File

@ -2710,7 +2710,7 @@ ml_get_buf_len(buf_T *buf, linenr_T lnum)
char_u *line;
if (*(line = ml_get_buf(buf, lnum, FALSE)) == NUL)
return 0;
return 0;
if (buf->b_ml.ml_line_textlen <= 0)
buf->b_ml.ml_line_textlen = (int)STRLEN(line) + 1;