From 484523b3bbffb201abcbc77e5d882cd619726841 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 30 May 2019 17:18:30 +0200 Subject: [PATCH] tweaks: drop two checks that were made redundant by the previous commit --- src/files.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/files.c b/src/files.c index c7157da4..14e3d385 100644 --- a/src/files.c +++ b/src/files.c @@ -604,7 +604,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 && !inhelp) { + if (openfile == openfile->next) { statusbar(_("No more open file buffers")); return; } @@ -623,9 +623,6 @@ void switch_to_adjacent_buffer(bool to_next) /* Update titlebar and multiline info to match the current buffer. */ prepare_for_display(); - if (inhelp) - return; - /* Ensure that the main loop will redraw the help lines. */ currmenu = MMOST;