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