Commit b88152d8 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

more typo fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 241771ce
Showing with 3 additions and 3 deletions
+3 -3
...@@ -423,12 +423,12 @@ void help_init(void) ...@@ -423,12 +423,12 @@ void help_init(void)
* of blank space. If this entry takes up more than * of blank space. If this entry takes up more than
* one entry's worth of space, use two to display * one entry's worth of space, use two to display
* it. */ * it. */
if (strlen(space_ptr) + 1 > 7) if (strlen(space_ptr) > 6)
entries++; entries++;
} else } else
/* Otherwise, truncate it so that it takes up only /* Otherwise, truncate it so that it takes up only
* one entry's worth of space. */ * one entry's worth of space. */
space_ptr[7] = '\0'; space_ptr[6] = '\0';
ptr += sprintf(ptr, "^%s", space_ptr); ptr += sprintf(ptr, "^%s", space_ptr);
...@@ -471,7 +471,7 @@ void help_init(void) ...@@ -471,7 +471,7 @@ void help_init(void)
/* If we're here, we have at least two entries worth of /* If we're here, we have at least two entries worth of
* blank space. If this entry takes up more than one * blank space. If this entry takes up more than one
* entry's worth of space, use two to display it. */ * entry's worth of space, use two to display it. */
if (strlen(space_ptr) + 2 > 7) if (strlen(space_ptr) > 5)
entries++; entries++;
ptr += sprintf(ptr, "M-%s", space_ptr); ptr += sprintf(ptr, "M-%s", space_ptr);
......
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