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
master
Chris Allegretta 2001-10-28 05:00:39 +00:00
parent 22ec59a073
commit 8c8d370470
2 changed files with 3 additions and 2 deletions

View File

@ -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).

View File

@ -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