From 2654f88cee86fae9db169dc8668492857fbbad98 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Fri, 29 Jul 2005 18:40:54 +0000 Subject: [PATCH] Fix code to handle printing 7.0 release candidates properly. --- hw/xfree86/common/xf86Init.c | 4 ++++ 1 file changed, 4 insertions(+) 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);