mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
r=dveditz. a=jevering. 31001. we're now using backwards compat OS strings in the UA
This commit is contained in:
parent
5fae71c9f2
commit
5d687a417b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user