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
.
master
parent
ceaae49b2d
commit
b38f0cbaf4
|
@ -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' ?
|
||||
|
|
Loading…
Reference in New Issue