* wincap.cc (wincapc::init): Simplify W2K/XP case.
This commit is contained in:
parent
09dcaf6922
commit
4b081513cc
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Sep 12 23:06:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* wincap.cc (wincapc::init): Simplify W2K/XP case.
|
||||||
|
|
||||||
Wed Sep 12 23:02:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
Wed Sep 12 23:02:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* wincap.cc (wincapc::init): Set os name to "NT" on XP, too.
|
* wincap.cc (wincapc::init): Set os name to "NT" on XP, too.
|
||||||
|
|
|
@ -402,16 +402,11 @@ wincapc::init ()
|
||||||
caps = &wincap_nt4sp4;
|
caps = &wincap_nt4sp4;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
os = "NT";
|
||||||
if (version.dwMinorVersion == 0)
|
if (version.dwMinorVersion == 0)
|
||||||
{
|
caps = &wincap_2000;
|
||||||
os = "NT";
|
|
||||||
caps = &wincap_2000;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
caps = &wincap_xp;
|
||||||
os = "NT";
|
|
||||||
caps = &wincap_xp;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
os = "??";
|
os = "??";
|
||||||
|
|
Loading…
Reference in New Issue