buffer: don't rely on curbuf in BUFEMPTY

This commit is contained in:
Thomas Vigouroux
2020-09-16 22:57:34 +02:00
parent df33f30e88
commit 55a2c513aa
13 changed files with 18 additions and 20 deletions

View File

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