1
1

tweaks: remove a redundant feedback message

Any error message will already have been written to the terminal by
statusline().  Also, "Buffer not written to" looked too much like
"Buffer written to"; one had to look closely to see the difference.
Этот коммит содержится в:
Benno Schulenberg 2021-07-14 10:21:01 +02:00
родитель 6b9c24f7dd
Коммит d9469b894f

Просмотреть файл

@ -329,10 +329,7 @@ void emergency_save(const char *filename)
if (saved)
fprintf(stderr, _("\nBuffer written to %s\n"), targetname);
else if (*targetname != '\0')
fprintf(stderr, _("\nBuffer not written to %s: %s\n"),
targetname, strerror(errno));
else
else if (*targetname == '\0')
fprintf(stderr, _("\nToo many .save files"));
#ifndef NANO_TINY