nano

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

commit b38f0cbaf42206e47b04fbd0d19b7b4b9c684750
parent ceaae49b2d7b935f849f065c4ec2e9d3537c9e1b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 23 May 2021 18:55:41 +0200

feedback: ensure that the reporting of DOS/Mac format is truthful

This fixes https://savannah.gnu.org/bugs/?60660.

Bug existed since version 5.7, commit 77da54c6.

Diffstat:
Msrc/files.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/files.c b/src/files.c @@ -521,7 +521,7 @@ void mention_name_and_linecount(void) return; } - if (openfile->fmt != NIX_FILE) + if (openfile->fmt > NIX_FILE) /* TRANSLATORS: First %s is file name, second %s is file format. */ statusline(HUSH, P_("%s -- %zu line (%s)", "%s -- %zu lines (%s)", count), openfile->filename[0] == '\0' ?