aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memfile.c')
-rw-r--r--src/nvim/memfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index 5d6c58c387..333ff75f7b 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -208,7 +208,7 @@ void mf_close_file(buf_T *buf, bool getlines)
if (getlines) {
// get all blocks in memory by accessing all lines (clumsy!)
for (linenr_T lnum = 1; lnum <= buf->b_ml.ml_line_count; lnum++) {
- (void)ml_get_buf(buf, lnum, false);
+ (void)ml_get_buf(buf, lnum);
}
}