commit 0241d19e4c46bde3188bea97a74952d6a4efa337
parent ecc3d7f39eb63d297a250cb5cd89ef3b9ff3cefa
Author: Chris Allegretta <chrisa@asty.org>
Date: Tue, 5 Jun 2001 23:45:54 +0000
Ugh, sigh
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);