Commit de0adb8e authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: keep the help text aligned, also with the narrow arrows

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -418,9 +418,9 @@ void help_init(void)
/* Make the first column narrower (6) than the second (10),
* but allow it to spill into the second, for "M-Space". */
if (scsfound == 1) {
sprintf(ptr, "%s ", s->keystr);
sprintf(ptr, "%s ", s->keystr);
/* Unicode arrows take three bytes instead of one. */
if (s->keystr[1] == '\xE2')
if (s->keystr[0] == '\xE2' || s->keystr[1] == '\xE2')
ptr += 8;
else
ptr += 6;
......
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