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

master
Benno Schulenberg 2017-04-05 18:01:24 +02:00
parent cc91ee603c
commit de0adb8e3e
1 changed files with 2 additions and 2 deletions

View File

@ -418,9 +418,9 @@ void help_init(void)
/* Make the first column narrower (6) than the second (10), /* Make the first column narrower (6) than the second (10),
* but allow it to spill into the second, for "M-Space". */ * but allow it to spill into the second, for "M-Space". */
if (scsfound == 1) { if (scsfound == 1) {
sprintf(ptr, "%s ", s->keystr); sprintf(ptr, "%s ", s->keystr);
/* Unicode arrows take three bytes instead of one. */ /* Unicode arrows take three bytes instead of one. */
if (s->keystr[1] == '\xE2') if (s->keystr[0] == '\xE2' || s->keystr[1] == '\xE2')
ptr += 8; ptr += 8;
else else
ptr += 6; ptr += 6;