vim-patch:9.0.1479: small source file problems; outdated list of distrib. files (#23272)

Problem:    Small source file problems; outdated list of distributed files.
Solution:   Small updates to source files and list of distributed files.

f39d9e9dca

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-04-23 08:12:44 +08:00
committed by GitHub
parent 540d6c595b
commit 431b152726
4 changed files with 10 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ static char *get_buffcont(buffheader_T *buffer, int dozero)
count += strlen(bp->b_str);
}
if (count || dozero) {
if (count > 0 || dozero) {
p = xmalloc(count + 1);
char *p2 = p;
for (const buffblock_T *bp = buffer->bh_first.b_next;