From 69a7dd86ec3052211b33817f78321cf70e8789f4 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 11 Apr 2023 11:44:27 +0200 Subject: [PATCH] feedback: suppress filename and linecount when --zero is active This suppression prevents the filename flashing by at the bottom of the screen when switching between buffers. This addresses https://savannah.gnu.org/bugs/?64019 Reported-by: Alan Cristhian Ruiz Problem existed since version 6.0, since --zero was introduced. --- src/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index c6eadc1c..20967446 100644 --- a/src/files.c +++ b/src/files.c @@ -535,7 +535,8 @@ void mention_name_and_linecount(void) if (ISSET(MINIBAR)) { report_size = TRUE; return; - } + } else if (ISSET(ZERO)) + return; if (openfile->fmt > NIX_FILE) /* TRANSLATORS: First %s is file name, second %s is file format. */