mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-13 11:54:37 +03:00
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.
This commit is contained in:
parent
6b9c24f7dd
commit
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user