]> git.wh0rd.org Git - nano.git/commitdiff
Added initializations for last_search and last_replace (Rocco Corsi)
authorChris Allegretta <chrisa@asty.org>
Sun, 1 Oct 2000 17:50:29 +0000 (17:50 +0000)
committerChris Allegretta <chrisa@asty.org>
Sun, 1 Oct 2000 17:50:29 +0000 (17:50 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@232 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
po/nano.pot
search.c

index 30fe15366dcda25069f2da78071c0b8a1d88d776..0ae4090067af5a6722dfb70318b6dfe406449f3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@ CVS changes -
 - nano.c
   main()
        - Added check for _POSIX_VDISABLE around term variable definition.
+- search.c
+       - Added initializations for last_search and last_replace (Rocco Corsi)
+
 nano 0.9.18 - 09/18/2000
 - General
        - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, 
index da1198d31081767d47620ca481be970f4933b944..f10c7adb1465cc143b02f95dfdbe29198818695e 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-09-26 23:11-0400\n"
+"POT-Creation-Date: 2000-10-01 13:58-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"
index f6b63f7dedd18e16f7511a7120841ed6b3a424f0..783635c48385c520ffee4bc50252a54db4f3a269 100644 (file)
--- a/search.c
+++ b/search.c
@@ -34,8 +34,8 @@
 #define _(string) (string)
 #endif
 
-static char last_search[132];          /* Last string we searched for */
-static char last_replace[132];         /* Last replacement string */
+static char last_search[132] = "";     /* Last string we searched for */
+static char last_replace[132] = "";    /* Last replacement string */
 
 /* Regular expression helper functions */