* 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>
|
||||
|
||||
* wincap.cc (wincapc::init): Set os name to "NT" on XP, too.
|
||||
|
|
|
@ -402,16 +402,11 @@ wincapc::init ()
|
|||
caps = &wincap_nt4sp4;
|
||||
break;
|
||||
case 5:
|
||||
os = "NT";
|
||||
if (version.dwMinorVersion == 0)
|
||||
{
|
||||
os = "NT";
|
||||
caps = &wincap_2000;
|
||||
}
|
||||
else
|
||||
{
|
||||
os = "NT";
|
||||
caps = &wincap_xp;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
os = "??";
|
||||
|
|
Loading…
Reference in New Issue