nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 22ec59a07364474e251c330aef71afb861903775
parent f3e80adbe418a4531888811ad3b130fe3b6dcd4d
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sun, 28 Oct 2001 04:56:08 +0000

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

Diffstat:
MChangeLog | 3+++
Mglobal.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,4 +1,7 @@ CVS Code - +- global.c: + - Define currshortcut and currslen when either DISABLE_MOUSE + 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 @@ -102,7 +102,7 @@ shortcut browser_list[BROWSER_LIST_LEN]; colorstruct colors[NUM_NCOLORS]; #endif -#ifndef DISABLE_MOUSE +#if !defined(DISABLE_BROWSER) || !defined(DISABLE_MOUSE) shortcut *currshortcut = main_list; /* Current shortcut list we're using */ int currslen = MAIN_VISIBLE; /* Length of current shortcut list */ #endif