From 5e0ecc8f925368baa83ffa0147da26850f6ad285 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 6 Feb 2019 16:27:27 +0100 Subject: [PATCH 7/8] browser: show the ^G item again in the help lines Also, prune another statement as MMOST no longer includes MBROWSER. This fixes https://savannah.gnu.org/bugs/?55655. Bug existed since version 3.2, commit cc01bc3e. --- src/global.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global.c b/src/global.c index 018b0d3e..7dd90647 100644 --- a/src/global.c +++ b/src/global.c @@ -702,12 +702,12 @@ void shortcut_init(void) /* Start populating the different menus with functions. */ - add_to_funcs(do_help_void, MMOST & ~MFINDINHELP, + add_to_funcs(do_help_void, (MMOST | MBROWSER) & ~MFINDINHELP, /* TRANSLATORS: Try to keep the next ninety strings or so at most 10 * characters. Some strings may be longer -- run nano and see. */ N_("Get Help"), WITHORSANS(help_gist), TOGETHER, VIEW); - add_to_funcs(do_cancel, ((MMOST & ~MMAIN & ~MBROWSER) | MYESNO), + add_to_funcs(do_cancel, ((MMOST & ~MMAIN) | MYESNO), N_("Cancel"), WITHORSANS(cancel_gist), BLANKAFTER, VIEW); add_to_funcs(do_exit, MMAIN, -- 2.20.1