tweaks: adjust the indentation after the previous change, and another

master
Benno Schulenberg 2019-10-17 11:31:34 +02:00
parent 4e40ec057e
commit e915fb1650
1 changed files with 14 additions and 15 deletions

View File

@ -1570,15 +1570,14 @@ bool write_file(const char *name, FILE *stream, bool tmp,
filetime[0].tv_sec = openfile->current_stat->st_atime;
filetime[1].tv_sec = openfile->current_stat->st_mtime;
/* Open the original file to copy to the backup. */
/* Open the file of which a backup must be made. */
f = fopen(realname, "rb");
if (f == NULL) {
statusline(ALERT, _("Error reading %s: %s"), realname,
strerror(errno));
/* If we can't read from the original file, go on, since
* only saving the current buffer is better than saving
* nothing. */
/* If we can't read from the original file, go on, since saving
* only the current buffer is better than saving nothing. */
goto skip_backup;
}