From: David Lawrence Ramsey Date: Sun, 29 May 2005 23:03:28 +0000 (+0000) Subject: in die(), tweak the message displayed when a backup file can't be X-Git-Tag: v1.3.8~237 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=54b74cee915a103f1fef065cd2d7c7b5fc50755a;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index f4173e63..5f5f35d1 100644 --- 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 index a63ff34f..1471380e 100644 --- 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); }