From 72c8e3c070b30f82bc0d203a62c168e43a13e99b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 28 Oct 2022 16:51:46 +0100 Subject: [PATCH] Fix wrong struct access for member. --- src/bufwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bufwrite.c b/src/bufwrite.c index 713dac561..12c5c7a47 100644 --- a/src/bufwrite.c +++ b/src/bufwrite.c @@ -2052,7 +2052,7 @@ restore_backup: } if (!buf->b_p_fixeol && buf->b_p_eof) // write trailing CTRL-Z - (void)write_eintr(write_info->bw_fd, "\x1a", 1); + (void)write_eintr(write_info.bw_fd, "\x1a", 1); // write failed or last line has no EOL: stop here if (end == 0 -- 2.40.0