From 1cdb9c5e50e52b5c5628ee5275e7eb463e7ee2df Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 18 May 2019 19:58:18 +0200 Subject: [PATCH 8/8] browser: don't show a mistaken message when exiting from help viewer This fixes https://savannah.gnu.org/bugs/?56346. Bug existed since version 3.0, commit 8d6b205e. --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index afdaeeb5..2f1edd58 100644 --- a/src/files.c +++ b/src/files.c @@ -636,7 +636,7 @@ void mention_name_and_linecount(void) void switch_to_adjacent_buffer(bool to_next) { /* If only one file buffer is open, say so and get out. */ - if (openfile == openfile->next) { + if (openfile == openfile->next && !inhelp) { statusbar(_("No more open file buffers")); return; } -- 2.20.1