From 8c8d37047067ab329c884a3b298529bad2a6f3a2 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 28 Oct 2001 05:00:39 +0000 Subject: [PATCH] global.c: - Define currshortcut and currslen when either DISABLE_MOUSE or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan Minghetti) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 ++- global.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f5e2000c..39c21015 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ CVS Code - - global.c: - Define currshortcut and currslen when either DISABLE_MOUSE - or DISABLE_BROWSER is not defined (Silvan Minghetti). + or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan + Minghetti). - nano.c: main() - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert). diff --git a/global.c b/global.c index ed1ed7cd..160d238d 100644 --- a/global.c +++ b/global.c @@ -102,7 +102,7 @@ shortcut browser_list[BROWSER_LIST_LEN]; colorstruct colors[NUM_NCOLORS]; #endif -#if !defined(DISABLE_BROWSER) || !defined(DISABLE_MOUSE) +#if !defined(DISABLE_BROWSER) || !defined(DISABLE_MOUSE) || !defined (DISABLE_HELP) shortcut *currshortcut = main_list; /* Current shortcut list we're using */ int currslen = MAIN_VISIBLE; /* Length of current shortcut list */ #endif -- 2.39.5