Mercurial > vim
view src/proto/bufwrite.pro @ 24379:8d5e4b50c2e1 v8.2.2730
patch 8.2.2730: Coverity complains about not restoring character
Commit: https://github.com/vim/vim/commit/c9605f0595173bca0f158f2782de950ac6bed147
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 6 21:29:32 2021 +0200
patch 8.2.2730: Coverity complains about not restoring character
Problem: Coverity complains about not restoring character.
Solution: Also restore the character in case of an error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 06 Apr 2021 21:30:05 +0200 |
parents | db18625d8134 |
children |
line wrap: on
line source
/* bufwrite.c */ char *new_file_message(void); int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); /* vim: set ft=c : */