Fix code to handle printing 7.0 release candidates properly.

This commit is contained in:
Kevin E Martin 2005-07-29 18:40:54 +00:00
parent d5d669b04e
commit 2654f88cee

View File

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