From 5ca2cdbd86bf5124a3d0d3e5134bb48a9ec8db38 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 13 Feb 2020 00:59:04 -0500 Subject: [PATCH] eliminate an odd line wrapping noticed on windows --- src/version.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/version.c b/src/version.c index c2b5ab416..6973b6cbd 100644 --- a/src/version.c +++ b/src/version.c @@ -170,10 +170,11 @@ doextversion() the file manually so we can include dynamic version info */ (void) getversionstring(buf); - /* if extra text (git info) is present, put it on separate line */ + /* if extra text (git info) is present, put it on separate line + but don't wrap on (x86) */ if (strlen(buf) >= COLNO) p = rindex(buf, '('); - if (p && p > buf && p[-1] == ' ') + if (p && p > buf && p[-1] == ' ' && p[1] != 'x') p[-1] = '\0'; else p = 0;