]> granicus.if.org Git - vim/commitdiff
Fix wrong struct access for member.
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2022 15:51:46 +0000 (16:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2022 15:51:46 +0000 (16:51 +0100)
src/bufwrite.c

index 713dac561f48c39a5a688dd111a9aadb31e7ef04..12c5c7a474226f892cbcd08aab6f134ebafb85f3 100644 (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