nano

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

commit 54b74cee915a103f1fef065cd2d7c7b5fc50755a
parent b9b572236a4d76487723faf82072d5a2585fead9
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 29 May 2005 23:03:28 +0000

in die(), tweak the message displayed when a backup file can't be
written, so as to not duplicate a translted string


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

Diffstat:
MChangeLog | 2++
Msrc/nano.c | 5++---
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -88,6 +88,8 @@ CVS code - - nano.c: die() - Rename variable ret to retval for consistency. (DLR) + - Tweak the message displayed when a backup file can't be + written, so as to not duplicate a translted string. (DLR) copy_filestruct() - Rename variable prev to copy to avoid confusion. (DLR) print1opt_full() diff --git a/src/nano.c b/src/nano.c @@ -176,9 +176,8 @@ void die_save_file(const char *die_filename) if (!failed) fprintf(stderr, _("\nBuffer written to %s\n"), retval); else - fprintf(stderr, - _("\nBuffer not written to %s (too many backup files?)\n"), - retval); + fprintf(stderr, _("\nBuffer not written to %s: %s\n"), retval, + _("Too many backup files?")); free(retval); }