From e9653fadce0ad16260faf509b84fa52d6e4298ed Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 31 Jan 2011 20:58:24 -0500 Subject: [PATCH] Bug 623338 - map Windows 2003 to Windows XP for the graphics blacklist - r=joe, a=blocking2.0 --- widget/src/windows/GfxInfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/widget/src/windows/GfxInfo.cpp b/widget/src/windows/GfxInfo.cpp index 52a905456c2..63fc3417bc3 100644 --- a/widget/src/windows/GfxInfo.cpp +++ b/widget/src/windows/GfxInfo.cpp @@ -779,6 +779,11 @@ GfxInfo::GetFeatureStatusImpl(PRInt32 aFeature, PRInt32 *aStatus, nsAString & aS OperatingSystem os = WindowsVersionToOperatingSystem(mWindowsVersion); + // Windows Server 2003 should be just like Windows XP for present purpose, but still has a different version number. + // OTOH Windows Server 2008 R1 and R2 already have the same version numbers as Vista and Seven respectively + if (os == DRIVER_OS_WINDOWS_SERVER_2003) + os = DRIVER_OS_WINDOWS_XP; + const GfxDriverInfo *info; if (aDriverInfo) info = aDriverInfo;