]> git.wh0rd.org Git - nano.git/commitdiff
global.c: - Define currshortcut and currslen when either DISABLE_MOUSE or DISABLE_HEL...
authorChris Allegretta <chrisa@asty.org>
Sun, 28 Oct 2001 05:00:39 +0000 (05:00 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 28 Oct 2001 05:00:39 +0000 (05:00 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
global.c

index f5e2000ca46ff72b9f1016b7ef95de7677c63e42..39c21015ecc2ba28d748cc06136a52cdb964e1ec 100644 (file)
--- 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).
index ed1ed7cdc08b6aba6feb0326a7b958c81cce7dc7..160d238d62a07a7e15eee6436a206f00c028e942 100644 (file)
--- 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