From: Chris Allegretta Date: Thu, 20 Mar 2008 04:51:26 +0000 (+0000) Subject: Fix for my fix for Mike's fix...dont add menu item refencing nano_exitbrowser_msg X-Git-Tag: v2.1.1~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dcd19c955f60214f4a50a813f19913f45938ddba;p=nano.git 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 --- 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"),