more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2647 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-13 05:16:55 +00:00
parent 9880afc47a
commit 8b698f4a29
1 changed files with 1 additions and 3 deletions

View File

@ -721,7 +721,6 @@ ssize_t do_replace_loop(const char *needle, const filestruct
FALSE FALSE
#endif #endif
, real_current, *real_current_x, needle, &match_len)) { , real_current, *real_current_x, needle, &match_len)) {
int i = 0; int i = 0;
#ifdef HAVE_REGEX_H #ifdef HAVE_REGEX_H
@ -744,8 +743,7 @@ ssize_t do_replace_loop(const char *needle, const filestruct
if (!replaceall) if (!replaceall)
edit_refresh(); edit_refresh();
/* Record for the return value that we found the search /* Indicate that we found the search string. */
* string. */
if (numreplaced == -1) if (numreplaced == -1)
numreplaced = 0; numreplaced = 0;