From de0adb8e3e21c0b4a699c989b41bef9c0854a554 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 5 Apr 2017 18:01:24 +0200
Subject: [PATCH] tweaks: keep the help text aligned, also with the narrow
 arrows

---
 src/help.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/help.c b/src/help.c
index db38701e..d9569da7 100644
--- 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;
-- 
GitLab