summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-26 19:48:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-26 19:48:19 +0200
commit8a5c29aee978345132ad7f318b8a84633c33905c (patch)
tree6e452a40fe6199f5a66ba03190a12cc0fa066a5a
parent736cd2cfbe83b85259eecc7d70e68297ce968d33 (diff)
patch 8.1.1750: depending on the terminal width :version may miss a line breakv8.1.1750
Problem: Depending on the terminal width :version may miss a line break. Solution: Add a line break when needed.
-rw-r--r--src/version.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index 1a65cef769..5c7507845a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1750,
+/**/
1749,
/**/
1748,
@@ -4641,6 +4643,8 @@ list_version(void)
version_msg(_(" Features included (+) or not (-):\n"));
list_features();
+ if (msg_col > 0)
+ msg_putchar('\n');
#ifdef SYS_VIMRC_FILE
version_msg(_(" system vimrc file: \""));