From: Chris Allegretta Date: Tue, 5 Jun 2001 23:45:54 +0000 (+0000) Subject: Ugh, sigh X-Git-Tag: v1.1.0~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0241d19e4c46bde3188bea97a74952d6a4efa337;p=nano.git Ugh, sigh git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index 492df5a8..503e0dde 100644 --- a/files.c +++ b/files.c @@ -506,7 +506,7 @@ int write_file(char *name, int tmp, int append, int nonamechange) mask, realname, strerror(errno)); if (!tmp) { - if (nonamechange) + if (!nonamechange) filename = mallocstrcpy(filename, realname); statusbar(_("Wrote %d lines"), lineswritten);