nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit f147131e7cae15462e7fe85421915c169d3022e2
parent 7785c3f7cf9523981614eeaf128cc8618348916c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 20 Nov 2021 16:09:37 +0100

tweaks: elevate two messages, so they get shown with --mini or --zero

A file being in DOS or Mac format is unusual, and thus noteworthy.

Diffstat:
Msrc/files.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -811,11 +811,11 @@ void read_file(FILE *f, int fd, const char *filename, bool undoable) #ifndef NANO_TINY else if (format == MAC_FILE) /* TRANSLATORS: Keep the next three messages at most 78 characters. */ - statusline(HUSH, P_("Read %zu line (Converted from Mac format)", + statusline(REMARK, P_("Read %zu line (Converted from Mac format)", "Read %zu lines (Converted from Mac format)", num_lines), num_lines); else if (format == DOS_FILE) - statusline(HUSH, P_("Read %zu line (Converted from DOS format)", + statusline(REMARK, P_("Read %zu line (Converted from DOS format)", "Read %zu lines (Converted from DOS format)", num_lines), num_lines); #endif