From dcd19c955f60214f4a50a813f19913f45938ddba Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 20 Mar 2008 04:51:26 +0000 Subject: [PATCH] Fix for my fix for Mike's fix...dont add menu item refencing nano_exitbrowser_msg when using DISABLE_BROWSER git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4243 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/global.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/global.c b/src/global.c index 49633589..1f4139e7 100644 --- a/src/global.c +++ b/src/global.c @@ -662,7 +662,9 @@ void shortcut_init(bool unjustify) add_to_funcs(do_exit, MHELP, exit_msg, IFSCHELP(nano_exit_msg), FALSE, VIEW); +#ifndef DISABLE_BROWSER add_to_funcs(do_exit, MBROWSER, exit_msg, IFSCHELP(nano_exitbrowser_msg), FALSE, VIEW); +#endif /* TRANSLATORS: Try to keep this at most 10 characters. */ add_to_funcs(do_writeout_void, MMAIN, N_("WriteOut"), -- 2.39.5