mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
global.c: - Define currshortcut and currslen when either DISABLE_MOUSE or DISABLE_BROWSER is not defined (Silvan Minghetti)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
f3e80adbe4
commit
22ec59a073
@ -1,4 +1,7 @@
|
|||||||
CVS Code -
|
CVS Code -
|
||||||
|
- global.c:
|
||||||
|
- Define currshortcut and currslen when either DISABLE_MOUSE
|
||||||
|
or DISABLE_BROWSER is not defined (Silvan Minghetti).
|
||||||
- nano.c:
|
- nano.c:
|
||||||
main()
|
main()
|
||||||
- Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
|
- Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
|
||||||
|
2
global.c
2
global.c
@ -102,7 +102,7 @@ shortcut browser_list[BROWSER_LIST_LEN];
|
|||||||
colorstruct colors[NUM_NCOLORS];
|
colorstruct colors[NUM_NCOLORS];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_MOUSE
|
#if !defined(DISABLE_BROWSER) || !defined(DISABLE_MOUSE)
|
||||||
shortcut *currshortcut = main_list; /* Current shortcut list we're using */
|
shortcut *currshortcut = main_list; /* Current shortcut list we're using */
|
||||||
int currslen = MAIN_VISIBLE; /* Length of current shortcut list */
|
int currslen = MAIN_VISIBLE; /* Length of current shortcut list */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user