more int -> bool conversions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1950 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-09-28 20:37:03 +00:00
parent 9bab9ff5b4
commit 25884f3bdb
1 changed files with 2 additions and 2 deletions

View File

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