Commit 24ae56cd authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

a few minor cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 60b942c6
No related merge requests found
Showing with 7 additions and 5 deletions
+7 -5
...@@ -73,6 +73,10 @@ CVS code - ...@@ -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[]) ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment