buffer: move BUFEMPTY to a function

This commit is contained in:
Thomas Vigouroux
2020-11-24 08:48:05 +01:00
parent 763c852812
commit 7970631fa0
14 changed files with 28 additions and 21 deletions

View File

@@ -2669,7 +2669,7 @@ void ex_diffgetput(exarg_T *eap)
}
}
buf_empty = BUFEMPTY(curbuf);
buf_empty = buf_is_empty(curbuf);
added = 0;
for (i = 0; i < count; ++i) {