Use IsWindows10OrGreater since target SDK is now Windows 10 and remove the year from Windows Server since the different versions can only be distinguished by the build numbers

master
Ansariel 2020-10-15 21:14:36 +02:00
parent 262258efd5
commit bf822b85de
1 changed files with 2 additions and 2 deletions

View File

@ -150,13 +150,13 @@ LLOSInfo::LLOSInfo() :
#if LL_WINDOWS
if (IsWindowsVersionOrGreater(10, 0, 0))
if (IsWindows10OrGreater())
{
mMajorVer = 10;
mMinorVer = 0;
if (IsWindowsServer())
{
mOSStringSimple = "Windows Server 2016 ";
mOSStringSimple = "Windows Server ";
}
else
{