Commit df3afdce authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 6 additions and 3 deletions
+6 -3
...@@ -9,6 +9,9 @@ CVS changes - ...@@ -9,6 +9,9 @@ CVS changes -
- nano.c - nano.c
main() main()
- Added check for _POSIX_VDISABLE around term variable definition. - 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 nano 0.9.18 - 09/18/2000
- General - General
- Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H, - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
#define _(string) (string) #define _(string) (string)
#endif #endif
static char last_search[132]; /* Last string we searched for */ static char last_search[132] = ""; /* Last string we searched for */
static char last_replace[132]; /* Last replacement string */ static char last_replace[132] = ""; /* Last replacement string */
/* Regular expression helper functions */ /* Regular expression helper functions */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment