]> git.wh0rd.org Git - nano.git/commitdiff
Sigh, fix previous search string not being displayed at all in PICO_MODE
authorChris Allegretta <chrisa@asty.org>
Sun, 19 Nov 2000 19:15:03 +0000 (19:15 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 19 Nov 2000 19:15:03 +0000 (19:15 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@301 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
po/nano.pot
search.c

index 44004a8e77c940ae591030d7894dea7620ab8df6..a8817998f6f061ef339c0d02bcc3243b8068d7d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@ CVS code -
 - search.c:
   findnextstr()
        - Set current_x back before aborting (oops!).
+  search_init()
+       - Silly typo in our "one simple call" of statusq.  Stopped
+         previous search string from being displayed.
 
 nano 0.9.20 - 11/18/2000
 - General
index ff80ecf01b367de29d31f6162b4c78baf6b237c5..5af4cb206b9c6ae66d6cf2a8f84b3aa13b9bc73a 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-11-19 13:19-0500\n"
+"POT-Creation-Date: 2000-11-19 14:12-0500\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"
index 52ec0e460a73fc97ab224f9c0325d8f57b2d5c08..2663c75ff4328e5131e7356d3565abae4b2bbbb9 100644 (file)
--- a/search.c
+++ b/search.c
@@ -129,7 +129,7 @@ int search_init(int replacing)
     /* This is now one simple call.  It just does a lot */
     i = statusq(0, replacing ? replace_list : whereis_list,
        replacing ? REPLACE_LIST_LEN : WHEREIS_LIST_LEN, backupstring,
-       prompt, reprompt, "");
+       prompt, reprompt, buf);
 
     /* Cancel any search, or just return with no previous search */
     if ((i == -1) || (i < 0 && !last_search[0])) {