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
master
Chris Allegretta 2000-09-04 16:21:29 +00:00
parent 5577aec4e8
commit 423cbfd743
4 changed files with 11 additions and 5 deletions

View File

@ -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()

7
NEWS
View File

@ -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

4
nano.c
View File

@ -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 );

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"