tweaks: drop two checks that were made redundant by the previous commit
Этот коммит содержится в:
родитель
5a48edc9ae
Коммит
484523b3bb
@ -604,7 +604,7 @@ void mention_name_and_linecount(void)
|
|||||||
void switch_to_adjacent_buffer(bool to_next)
|
void switch_to_adjacent_buffer(bool to_next)
|
||||||
{
|
{
|
||||||
/* If only one file buffer is open, say so and get out. */
|
/* 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"));
|
statusbar(_("No more open file buffers"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -623,9 +623,6 @@ void switch_to_adjacent_buffer(bool to_next)
|
|||||||
/* Update titlebar and multiline info to match the current buffer. */
|
/* Update titlebar and multiline info to match the current buffer. */
|
||||||
prepare_for_display();
|
prepare_for_display();
|
||||||
|
|
||||||
if (inhelp)
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* Ensure that the main loop will redraw the help lines. */
|
/* Ensure that the main loop will redraw the help lines. */
|
||||||
currmenu = MMOST;
|
currmenu = MMOST;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user