a few minor cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
60b942c64f
commit
24ae56cd4b
|
@ -73,6 +73,10 @@ CVS code -
|
||||||
- Add more descriptive comments explaining the termios and
|
- Add more descriptive comments explaining the termios and
|
||||||
curses setup routines, and turn the keypad on before setting
|
curses setup routines, and turn the keypad on before setting
|
||||||
the input mode. (DLR)
|
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:
|
- search.c:
|
||||||
regexp_cleanup()
|
regexp_cleanup()
|
||||||
- Only do anything if REGEXP_COMPILED is set. (David Benbennick)
|
- Only do anything if REGEXP_COMPILED is set. (David Benbennick)
|
||||||
|
|
|
@ -3268,8 +3268,6 @@ int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
case 'p':
|
case 'p':
|
||||||
SET(PRESERVE);
|
SET(PRESERVE);
|
||||||
#ifdef HAVE_GETOPT_LONG
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
#ifndef DISABLE_WRAPJUSTIFY
|
#ifndef DISABLE_WRAPJUSTIFY
|
||||||
case 'r':
|
case 'r':
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
* *
|
* *
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifndef NANO_H
|
||||||
|
#define NANO_H 1
|
||||||
|
|
||||||
#ifdef HAVE_LIMITS_H
|
#ifdef HAVE_LIMITS_H
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NANO_H
|
|
||||||
#define NANO_H 1
|
|
||||||
|
|
||||||
/* Macros for the flags int... */
|
/* Macros for the flags int... */
|
||||||
#define SET(bit) flags |= bit
|
#define SET(bit) flags |= bit
|
||||||
#define UNSET(bit) flags &= ~bit
|
#define UNSET(bit) flags &= ~bit
|
||||||
|
|
Loading…
Reference in New Issue