Commit b112fe62 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix backwards #ifdefs

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1980 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -1430,7 +1430,7 @@ bool do_int_spell_fix(const char *word) ...@@ -1430,7 +1430,7 @@ bool do_int_spell_fix(const char *word)
bool reverse_search_set = ISSET(REVERSE_SEARCH); bool reverse_search_set = ISSET(REVERSE_SEARCH);
bool old_mark_set = ISSET(MARK_ISSET); bool old_mark_set = ISSET(MARK_ISSET);
#endif #endif
#ifndef HAVE_REGEX_H #ifdef HAVE_REGEX_H
bool regexp_set = ISSET(USE_REGEXP); bool regexp_set = ISSET(USE_REGEXP);
#endif #endif
...@@ -1444,7 +1444,7 @@ bool do_int_spell_fix(const char *word) ...@@ -1444,7 +1444,7 @@ bool do_int_spell_fix(const char *word)
/* Make sure the marking highlight is off during spell-check. */ /* Make sure the marking highlight is off during spell-check. */
UNSET(MARK_ISSET); UNSET(MARK_ISSET);
#endif #endif
#ifndef HAVE_REGEX_H #ifdef HAVE_REGEX_H
/* Make sure spell-check doesn't use regular expressions. */ /* Make sure spell-check doesn't use regular expressions. */
UNSET(USE_REGEXP); UNSET(USE_REGEXP);
#endif #endif
...@@ -1513,7 +1513,7 @@ bool do_int_spell_fix(const char *word) ...@@ -1513,7 +1513,7 @@ bool do_int_spell_fix(const char *word)
if (old_mark_set) if (old_mark_set)
SET(MARK_ISSET); SET(MARK_ISSET);
#endif #endif
#ifndef HAVE_REGEX_H #ifdef HAVE_REGEX_H
/* Restore regular expression usage setting. */ /* Restore regular expression usage setting. */
if (regexp_set) if (regexp_set)
SET(USE_REGEXP); SET(USE_REGEXP);
......
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