Commit 4e0b1ae3 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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
......
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