r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA

This commit is contained in:
valeski%netscape.com 2000-03-09 22:29:00 +00:00
parent 5fae71c9f2
commit 5d687a417b

View File

@ -610,16 +610,16 @@ nsHTTPHandler::InitUserAgentComponents()
if (GetVersionEx(&info)) {
if ( info.dwPlatformId == VER_PLATFORM_WIN32_NT ) {
if (info.dwMajorVersion == 3) {
mAppOSCPU = "NT3.51";
mAppOSCPU = "WinNT3.51";
}
else if (info.dwMajorVersion == 4) {
mAppOSCPU = "NT4.0";
mAppOSCPU = "WinNT4.0";
}
else if (info.dwMajorVersion == 5) {
mAppOSCPU = "Windows NT 5.0";
}
else {
mAppOSCPU = "NT";
mAppOSCPU = "WinNT";
}
} else if (info.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
if (info.dwMinorVersion > 0)