when they have the default cursor position (line 1, column 1).
* src/files.c (write_file): Avoid a pointless lstat() when not writing
to a temp file, and in the bargain elide two variables.
+ * src/files.c (write_file): Elide an unneeded 'if'.
2016-02-06 Benno Schulenberg <bensberg@justemail.net>
* src/files.c (write_file): Remove the --nofollow option that hasn't
/* The status fields filled in by stat(). */
char *realname;
/* name after tilde expansion. */
- FILE *f = NULL;
+ FILE *f = f_open;
/* The actual file, realname, we are writing to. */
char *tempname = NULL;
/* The name of the temporary file we write to on prepend. */
if (*name == '\0')
return -1;
- if (f_open != NULL)
- f = f_open;
-
if (!tmp)
titlebar(NULL);