changeset 30965:b6a9490d95f8

Fix wrong struct access for member. Commit: https://github.com/vim/vim/commit/72c8e3c070b30f82bc0d203a62c168e43a13e99b Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 28 16:51:46 2022 +0100 Fix wrong struct access for member.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 11:18:46 +0100
parents acafcfb9eb70
children 685ee8453163
files src/bufwrite.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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