From df3afdce0dd0bf57011600ec483e4f9da6179f55 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sun, 1 Oct 2000 17:50:29 +0000 Subject: [PATCH] Added initializations for last_search and last_replace (Rocco Corsi) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@232 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ po/nano.pot | 2 +- search.c | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 30fe1536..0ae40900 100644 --- 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, diff --git a/po/nano.pot b/po/nano.pot index da1198d3..f10c7adb 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-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 \n" "Language-Team: LANGUAGE \n" diff --git a/search.c b/search.c index f6b63f7d..783635c4 100644 --- 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 */ -- 2.39.5