aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-14 16:59:43 +0000
committermarha <marha@users.sourceforge.net>2011-02-14 16:59:43 +0000
commitd5627ab9673bc0d37bec62874c0b41dee39d85f4 (patch)
treedfbf14e4e1a82f552605d6654edad122dc414bf3
parent6c7065f8c65df08a61a1b7d37f85391ab027acd6 (diff)
downloadvcxsrv-d5627ab9673bc0d37bec62874c0b41dee39d85f4.tar.gz
vcxsrv-d5627ab9673bc0d37bec62874c0b41dee39d85f4.tar.bz2
vcxsrv-d5627ab9673bc0d37bec62874c0b41dee39d85f4.zip
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.
-rw-r--r--xorg-server/hw/xwin/winerror.c4
-rw-r--r--xorg-server/hw/xwin/winprocarg.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/xwin/winerror.c b/xorg-server/hw/xwin/winerror.c
index 25d05339b..47e1bd86f 100644
--- a/xorg-server/hw/xwin/winerror.c
+++ b/xorg-server/hw/xwin/winerror.c
@@ -135,7 +135,7 @@ winMessageBoxF (const char *pszError, UINT uType, ...)
#define MESSAGEBOXF \
"%s\n" \
"Vendor: %s\n" \
- "Release: %d.%d.%d.%d (%d)\n" \
+ "Release: %d.%d.%d.%d\n" \
"Contact: %s\n" \
"%s\n\n" \
"XWin was started with the following command-line:\n\n" \
@@ -144,7 +144,7 @@ winMessageBoxF (const char *pszError, UINT uType, ...)
size = asprintf (&pszMsgBox, MESSAGEBOXF,
pszErrorF, XVENDORNAME,
XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH,
- XORG_VERSION_SNAP, XORG_VERSION_CURRENT,
+ XORG_VERSION_SNAP,
BUILDERADDR,
BUILDERSTRING,
g_pszCommandLine);
diff --git a/xorg-server/hw/xwin/winprocarg.c b/xorg-server/hw/xwin/winprocarg.c
index 96db9fec2..fef3edd4f 100644
--- a/xorg-server/hw/xwin/winprocarg.c
+++ b/xorg-server/hw/xwin/winprocarg.c
@@ -1212,7 +1212,7 @@ winLogVersionInfo (void)
winDebug ("Welcome to the VcXsrv X Server\n");
winDebug ("Vendor: %s\n", XVENDORNAME);
- winDebug ("Release: %d.%d.%d.%d (%d)\n\n", XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH, XORG_VERSION_SNAP, XORG_VERSION_CURRENT);
+ winDebug ("Release: %d.%d.%d.%d\n\n", XORG_VERSION_MAJOR, XORG_VERSION_MINOR, XORG_VERSION_PATCH, XORG_VERSION_SNAP);
winDebug ("%s\n\n", BUILDERSTRING);
winDebug ("Contact: %s\n\n", BUILDERADDR);
#endif