From 0e1df431a80cf5d8a7b23300a22680fe1a5a81fa Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 12 Jan 2007 02:58:12 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4036 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 2 +- src/text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index 142bf406..66f6f4a3 100644 --- a/src/nano.c +++ b/src/nano.c @@ -613,7 +613,7 @@ void die_save_file(const char *die_filename) retval = get_next_filename(die_filename, ".save"); if (retval[0] != '\0') - failed = (!write_file(retval, NULL, TRUE, OVERWRITE, TRUE)); + failed = !write_file(retval, NULL, TRUE, OVERWRITE, TRUE); if (!failed) fprintf(stderr, _("\nBuffer written to %s\n"), retval); diff --git a/src/text.c b/src/text.c index a13ec43b..5746d3b6 100644 --- a/src/text.c +++ b/src/text.c @@ -2313,7 +2313,7 @@ void do_spell(void) status = #ifndef NANO_TINY - (openfile->mark_set) ? write_marked_file(temp, temp_file, TRUE, + openfile->mark_set ? write_marked_file(temp, temp_file, TRUE, OVERWRITE) : #endif write_file(temp, temp_file, TRUE, OVERWRITE, FALSE); -- 2.39.5