From: David Lawrence Ramsey Date: Tue, 28 Sep 2004 20:37:03 +0000 (+0000) Subject: more int -> bool conversions X-Git-Tag: v1.3.5~170 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=25884f3bdb631532c886d965da13493abc26a22f;p=nano.git more int -> bool conversions git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1950 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/search.c b/src/search.c index e0d5602b..b70f9b1b 100644 --- a/src/search.c +++ b/src/search.c @@ -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();