]> git.wh0rd.org Git - nano.git/commitdiff
fix #ifdef
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2589 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/search.c

index da714b6bb166a82f0c7ee2a6cae293d0d67be3eb..0fbdac9a6af116415dfce7dbb6ffea415b132bcc 100644 (file)
@@ -457,9 +457,11 @@ void do_search(void)
        search_abort();
     else if (i == -2)  /* Replace. */
        do_replace();
+#if !defined(NANO_SMALL) || defined(HAVE_REGEX_H)
     else if (i == 1)   /* Case Sensitive, Backwards, or Regexp search
                         * toggle. */
        do_search();
+#endif
 
     if (i != 0)
        return;