mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 14:20:46 +03:00
feedback: with --mini or --zero, suppress number of lines for new buffer
For consistency of style, the number of lines read should only be shown when inserting a file into the current buffer, not when reading it into a new buffer. This amends the fix for https://savannah.gnu.org/bugs/?61509.
This commit is contained in:
parent
9d3d354bd4
commit
7785c3f7cf
@ -819,7 +819,7 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable)
|
||||
"Read %zu lines (Converted from DOS format)",
|
||||
num_lines), num_lines);
|
||||
#endif
|
||||
else if ((!ISSET(MINIBAR) && !ISSET(ZERO)) || we_are_running)
|
||||
else if ((!ISSET(MINIBAR) && !ISSET(ZERO)) || (we_are_running && undoable))
|
||||
statusline(REMARK, P_("Read %zu line", "Read %zu lines",
|
||||
num_lines), num_lines);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user