summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Init.c
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-07-29 18:40:54 +0000
committerKevin E Martin <kem@kem.org>2005-07-29 18:40:54 +0000
commit2654f88cee86fae9db169dc8668492857fbbad98 (patch)
tree0c79088f152bfb3a2cd7ec87d913954548362362 /hw/xfree86/common/xf86Init.c
parentd5d669b04ecbd91bb2db9ddc6238acabbeaabbe0 (diff)
Fix code to handle printing 7.0 release candidates properly.
Diffstat (limited to 'hw/xfree86/common/xf86Init.c')
-rw-r--r--hw/xfree86/common/xf86Init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index e6754a9f6..33d4a2868 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -1804,9 +1804,13 @@ xf86PrintBanner()
#endif
#if XORG_VERSION_SNAP >= 900
+#if XORG_VERSION_MINOR >= 99
+ ErrorF(" (%d.0.0 RC %d)", XORG_VERSION_MAJOR+1, XORG_VERSION_SNAP - 900);
+#else
ErrorF(" (%d.%d.0 RC %d)", XORG_VERSION_MAJOR, XORG_VERSION_MINOR + 1,
XORG_VERSION_SNAP - 900);
#endif
+#endif
#ifdef XORG_CUSTOM_VERSION
ErrorF(" (%s)", XORG_CUSTOM_VERSION);