tweaks: drop two checks that were made redundant by the previous commit
parent
5a48edc9ae
commit
484523b3bb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue