]> git.wh0rd.org Git - nano.git/commitdiff
more int -> bool conversions
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 28 Sep 2004 20:37:03 +0000 (20:37 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 28 Sep 2004 20:37:03 +0000 (20:37 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1950 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/search.c

index e0d5602be6b53781474cca07b38e214dfb4f1dca..b70f9b1bb114993ac366e2215c8971d44e4dcf14 100644 (file)
@@ -385,7 +385,7 @@ void do_search(void)
 #ifndef DISABLE_WRAPPING
     wrap_reset();
 #endif
-    i = search_init(0);
+    i = search_init(FALSE);
     if (i == -1)       /* Cancel, Go to Line, blank search string, or
                         * regcomp() failed. */
        search_abort();
@@ -778,7 +778,7 @@ void do_replace(void)
        return;
     }
 
-    i = search_init(1);
+    i = search_init(TRUE);
     if (i == -1) {             /* Cancel, Go to Line, blank search
                                 * string, or regcomp() failed. */
        replace_abort();