commit de0adb8e3e21c0b4a699c989b41bef9c0854a554
parent cc91ee603c24429375ace5d4b55d85c396668c2e
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 5 Apr 2017 18:01:24 +0200
tweaks: keep the help text aligned, also with the narrow arrows
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/help.c b/src/help.c
@@ -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;