From: David Lawrence Ramsey Date: Tue, 7 Nov 2006 21:32:43 +0000 (+0000) Subject: more cosmetic fixes X-Git-Tag: v2.0.1~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=137694d15bcd56607a440b9a79201dc519459fb4;p=nano.git more cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/files.c b/src/files.c index abd3dc6b..6878ace7 100644 --- a/src/files.c +++ b/src/files.c @@ -1763,7 +1763,7 @@ int do_writeout(bool exiting) ans = mallocstrcpy(NULL, #ifndef NANO_TINY - (openfile->mark_set && !exiting) ? "" : + (!exiting && openfile->mark_set) ? "" : #endif openfile->filename); @@ -1778,7 +1778,7 @@ int do_writeout(bool exiting) backupstr = ISSET(BACKUP_FILE) ? _(" [Backup]") : ""; - if (openfile->mark_set && !exiting) + if (!exiting && openfile->mark_set) msg = (append == PREPEND) ? _("Prepend Selection to File") : (append == APPEND) ? _("Append Selection to File") :