hw/xwin: Don't bother reporting XORG_VERSION_CURRENT
Don't bother reporting XORG_VERSION_CURRENT, when we also report the version number broken down into it's components XORG_VERSION_MAJOR, XORG_VERSION_MINOR, etc. as well. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
d5977e5bd2
commit
9fe9c5f868
|
@ -111,7 +111,7 @@ winMessageBoxF(const char *pszError, UINT uType, ...)
|
||||||
#define MESSAGEBOXF \
|
#define MESSAGEBOXF \
|
||||||
"%s\n" \
|
"%s\n" \
|
||||||
"Vendor: %s\n" \
|
"Vendor: %s\n" \
|
||||||
"Release: %d.%d.%d.%d (%d)\n" \
|
"Release: %d.%d.%d.%d\n" \
|
||||||
"Contact: %s\n" \
|
"Contact: %s\n" \
|
||||||
"%s\n\n" \
|
"%s\n\n" \
|
||||||
"XWin was started with the following command-line:\n\n" \
|
"XWin was started with the following command-line:\n\n" \
|
||||||
|
@ -120,7 +120,7 @@ winMessageBoxF(const char *pszError, UINT uType, ...)
|
||||||
size = asprintf(&pszMsgBox, MESSAGEBOXF,
|
size = asprintf(&pszMsgBox, MESSAGEBOXF,
|
||||||
pszErrorF, XVENDORNAME,
|
pszErrorF, XVENDORNAME,
|
||||||
XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH,
|
XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH,
|
||||||
XORG_VERSION_SNAP, XORG_VERSION_CURRENT,
|
XORG_VERSION_SNAP,
|
||||||
BUILDERADDR, BUILDERSTRING, g_pszCommandLine);
|
BUILDERADDR, BUILDERSTRING, g_pszCommandLine);
|
||||||
|
|
||||||
if (size == -1) {
|
if (size == -1) {
|
||||||
|
|
|
@ -1158,9 +1158,8 @@ winLogVersionInfo(void)
|
||||||
|
|
||||||
ErrorF("Welcome to the XWin X Server\n");
|
ErrorF("Welcome to the XWin X Server\n");
|
||||||
ErrorF("Vendor: %s\n", XVENDORNAME);
|
ErrorF("Vendor: %s\n", XVENDORNAME);
|
||||||
ErrorF("Release: %d.%d.%d.%d (%d)\n", XORG_VERSION_MAJOR,
|
ErrorF("Release: %d.%d.%d.%d\n", XORG_VERSION_MAJOR,
|
||||||
XORG_VERSION_MINOR, XORG_VERSION_PATCH, XORG_VERSION_SNAP,
|
XORG_VERSION_MINOR, XORG_VERSION_PATCH, XORG_VERSION_SNAP);
|
||||||
XORG_VERSION_CURRENT);
|
|
||||||
ErrorF("%s\n\n", BUILDERSTRING);
|
ErrorF("%s\n\n", BUILDERSTRING);
|
||||||
ErrorF("Contact: %s\n", BUILDERADDR);
|
ErrorF("Contact: %s\n", BUILDERADDR);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue