a few minor cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2004-02-27 03:06:28 +00:00
parent 60b942c64f
commit 24ae56cd4b
3 changed files with 7 additions and 5 deletions

View File

@ -73,6 +73,10 @@ CVS code -
- Add more descriptive comments explaining the termios and
curses setup routines, and turn the keypad on before setting
the input mode. (DLR)
- Remove stray HAVE_GETOPT_LONG $ifdefs. (DLR)
- nano.h:
- Move the NANO_H include guard up before the first #include.
(DLR)
- search.c:
regexp_cleanup()
- Only do anything if REGEXP_COMPILED is set. (David Benbennick)

View File

@ -3268,8 +3268,6 @@ int main(int argc, char *argv[])
#endif
case 'p':
SET(PRESERVE);
#ifdef HAVE_GETOPT_LONG
#endif
break;
#ifndef DISABLE_WRAPJUSTIFY
case 'r':

View File

@ -19,13 +19,13 @@
* *
**************************************************************************/
#ifndef NANO_H
#define NANO_H 1
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifndef NANO_H
#define NANO_H 1
/* Macros for the flags int... */
#define SET(bit) flags |= bit
#define UNSET(bit) flags &= ~bit