mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-10 19:42:40 +03:00
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
.
This commit is contained in:
parent
afbaf8ae2d
commit
1d3a4df3b3
@ -626,7 +626,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user