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

@ -420,7 +420,7 @@ void help_init(void)
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;