add missing space in the help text, and fix an allocsize-related assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-03-22 03:58:51 +00:00
parent c4daf5d49e
commit 4e0b1ae332
1 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ void help_init(void)
"version, the current filename being edited, and whether "
"or not the file has been modified. Next is the main editor "
"window showing the file being edited. The status line is "
"the third line from the bottom and shows important messages. "
"the third line from the bottom and shows important messages. "
"The bottom two lines show the most commonly used shortcuts "
"in the editor.\n\n "
"The notation for shortcuts is as follows: Control-key "
@ -537,7 +537,7 @@ void help_init(void)
/* If all went well, we didn't overwrite the allocated space for
* help_text. */
assert(strlen(help_text) < allocsize);
assert(strlen(help_text) <= allocsize + 1);
}
#endif