nano.h: Additional #define, SMALL_TOO to determine how long MAIN_LIST_LEN is. We need this because of the find matching bracket code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
2cd72b6aa2
commit
107864058b
|
@ -36,6 +36,10 @@ CVS code -
|
|||
goofy logic setting x pos to value of last line when hitting the
|
||||
beginning of first line, prog should simply abort. Added
|
||||
the #ifdefs around the code in main().
|
||||
- nano.h:
|
||||
- Additional #define, SMALL_TOO to determine how long
|
||||
MAIN_LIST_LEN is. We need this because of the find matching
|
||||
bracket code.
|
||||
main()
|
||||
- Moved #ifndef NANO_SMALL down past the case 0: line so
|
||||
control-space doesn't insert a \0 (ack!)
|
||||
|
|
10
nano.h
10
nano.h
|
@ -287,9 +287,15 @@ know what you're doing */
|
|||
|
||||
#ifndef HAVE_REGEX_H
|
||||
#define NO_REGEX 1
|
||||
#ifdef NANO_SMALL
|
||||
#define SMALL_TOO 1
|
||||
#else
|
||||
#define SMALL_TOO 0
|
||||
#endif /* NANO_SMALL */
|
||||
#else
|
||||
#define NO_REGEX 0
|
||||
#endif
|
||||
#define SMALL_TOO 0
|
||||
#endif /* HAVE_REGEX_H */
|
||||
|
||||
#ifdef DISABLE_BROWSER
|
||||
#define NO_BROWSER 1
|
||||
|
@ -319,7 +325,7 @@ know what you're doing */
|
|||
#define WRITEFILE_LIST_LEN (4 - NO_BROWSER)
|
||||
#define INSERTFILE_LIST_LEN (3 - NO_BROWSER)
|
||||
#define BROWSER_LIST_LEN 5
|
||||
#define MAIN_LIST_LEN (27 - NO_REGEX)
|
||||
#define MAIN_LIST_LEN (27 - NO_REGEX - SMALL_TOO)
|
||||
#define MAIN_VISIBLE 12
|
||||
#define REPLACE_LIST_2_LEN 4
|
||||
#define GOTO_LIST_LEN 4
|
||||
|
|
Loading…
Reference in New Issue