diff --git a/ChangeLog b/ChangeLog index f4173e639d82845e37ea645d15dacbb7cadaac4c..5f5f35d10d255b76495a2f045db0d3957cdd9a5e 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 a63ff34febe1280e065fca4620974ac8a6742f52..1471380e70721ddcdfb295589b1c7996864af3d2 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); }