version: tweak layout, doc

This commit is contained in:
Justin M. Keyes
2017-08-17 21:23:28 +02:00
parent 6ca6a8134d
commit af046a3a81
2 changed files with 21 additions and 23 deletions

View File

@@ -1089,13 +1089,7 @@ static void list_features(void)
msg_putchar('\n');
}
} else {
while (msg_col % width) {
int old_msg_col = msg_col;
msg_putchar(' ');
if (old_msg_col == msg_col) {
break; // XXX: Avoid infinite loop.
}
}
msg_putchar(' ');
}
} else {
if (msg_col > 0) {
@@ -1103,7 +1097,7 @@ static void list_features(void)
}
}
}
MSG_PUTS("For differences from Vim, see :help vim-differences\n\n");
MSG_PUTS("See \":help feature-compile\"\n\n");
}
void list_version(void)
@@ -1144,7 +1138,7 @@ void list_version(void)
}
#endif // ifdef HAVE_PATHDEF
version_msg(_("\n\nOptional features included (+) or not (-): "));
version_msg(_("\n\nFeatures: "));
list_features();