0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

Fix wrong struct access for member.

This commit is contained in:
Bram Moolenaar
2022-10-28 16:51:46 +01:00
parent f0b567e32a
commit 72c8e3c070

View File

@@ -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