tweaks: drop two checks that were made redundant by the previous commit

master
Benno Schulenberg 2019-05-30 17:18:30 +02:00
parent 5a48edc9ae
commit 484523b3bb
1 changed files with 1 additions and 4 deletions

View File

@ -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;