From: David Lawrence Ramsey Date: Wed, 15 Jun 2005 19:15:14 +0000 (+0000) Subject: add missing blank lines X-Git-Tag: v1.3.8~125 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=da72453859733296f49cbcb0465bd58e73acae2c;p=nano.git add missing blank lines git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/search.c b/src/search.c index 9019c570..7cc135bf 100644 --- a/src/search.c +++ b/src/search.c @@ -754,12 +754,15 @@ ssize_t do_replace_loop(const char *needle, const filestruct FALSE); curs_set(0); + do_replace_highlight(TRUE, exp_word); i = do_yesno(TRUE, _("Replace this instance?")); do_replace_highlight(FALSE, exp_word); + free(exp_word); + curs_set(1); if (i == -1) { /* We canceled the replace. */