From 68b12334d59bf5f27661e0b14d5a0c8d0d18370a Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Fri, 7 Jul 2000 13:10:28 +0000
Subject: [PATCH] More regexp fixes by bill

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@84 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 po/nano.pot | 10 +++++-----
 search.c    |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/po/nano.pot b/po/nano.pot
index 5b7a67ca..96899b2d 100644
--- a/po/nano.pot
+++ b/po/nano.pot
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-07 01:16-0400\n"
+"POT-Creation-Date: 2000-07-07 09:15-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -707,19 +707,19 @@ msgid "Replace this instance?"
 msgstr ""
 
 #. Ask for it
-#: search.c:507
+#: search.c:508
 msgid "Enter line number"
 msgstr ""
 
-#: search.c:509
+#: search.c:510
 msgid "Aborted"
 msgstr ""
 
-#: search.c:529
+#: search.c:530
 msgid "Come on, be reasonable"
 msgstr ""
 
-#: search.c:534
+#: search.c:535
 #, c-format
 msgid "Only %d lines available, skipping to last line"
 msgstr ""
diff --git a/search.c b/search.c
index 4756cc7d..fffb43ec 100644
--- a/search.c
+++ b/search.c
@@ -464,6 +464,7 @@ int do_replace(void)
             if (!copy) {
                 statusbar("Replace failed: unknown subexpression!");
                 replace_abort();
+		return 0;
             }
 
 	    /* Cleanup */
-- 
GitLab