]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 12 Jan 2007 02:58:12 +0000 (02:58 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 12 Jan 2007 02:58:12 +0000 (02:58 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4036 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c
src/text.c

index 142bf40653421290feda1891f0e2ae73897417ed..66f6f4a380920d0349b3bcf258a450976335c8af 100644 (file)
@@ -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);
index a13ec43b2797446162a42b44650d5640079a58cc..5746d3b6bf0038f8b5bb3c58d02247886af4f5a3 100644 (file)
@@ -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);