nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 137694d15bcd56607a440b9a79201dc519459fb4
parent 8965af5874940d692f2aba5bfeef4d34eba1193f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  7 Nov 2006 21:32:43 +0000

more cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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") :