eliminate an odd line wrapping noticed on windows

This commit is contained in:
nhmall
2020-02-13 00:59:04 -05:00
parent 75e9055b89
commit 5ca2cdbd86

View File

@@ -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;