From 423cbfd743d09e165d6a91734ea00447eaff948c Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 4 Sep 2000 16:21:29 +0000 Subject: [PATCH] off by one in toggle help code and set up for 0.9.17 release git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +-- NEWS | 7 +++++++ nano.c | 4 ++-- po/nano.pot | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 368aaa12..83cf13d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -CVS Code +nano-0.9.17 - 09/04/2000 - General - New shortcuts to toggle certain options that are normally only flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called @@ -52,7 +52,6 @@ CVS Code - Fixed check for string that only occurs on the same line failing (discovered by Ken Tyler). - nano-0.9.16 - 08/09/2000 - cut.c: do_cut_text() diff --git a/NEWS b/NEWS index bc27b53d..8ec5577f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +09/04/2000 - Nano 0.9.17, the Labor Day release, is released after a + quiet spell (almost an entire month since last release!) + New features include better (not yet perfect) binary + display support and toggle support for most of the program + flags (M-c, M-i, M-z, M-x, M-p, M-w, M-m, M-k and M-e for + -c, -i, -x, -p, -w, -k, and -R). + 08/09/2000 - Nano 0.9.16, after some struggling, is release. This release should fix a few of the holes that 0.9.15 dug. The "cutting text on the first line" bug is fixed, as is the diff --git a/nano.c b/nano.c index 5156f4eb..2cc33d9f 100644 --- a/nano.c +++ b/nano.c @@ -1569,7 +1569,7 @@ void help_init(void) allocsize += strlen(main_list[i].help) + 15; /* And for the toggle list, we also allocate space for extra text. */ - for (i = 0; i < TOGGLE_LEN; i++) + for (i = 0; i <= TOGGLE_LEN - 1; i++) if (toggles[i].desc != NULL) allocsize += strlen(toggles[i].desc) + 30; @@ -1610,7 +1610,7 @@ void help_init(void) } /* And the toggles... */ - for (i = 0; i < TOGGLE_LEN - 1; i++) { + for (i = 0; i <= TOGGLE_LEN - 1; i++) { sofar = snprintf(buf, BUFSIZ, "M-%c ", toggles[i].val - 32 ); diff --git a/po/nano.pot b/po/nano.pot index 2c30e479..c3871c76 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-03 23:58-0400\n" +"POT-Creation-Date: 2000-09-04 12:19-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.39.5