Utility::GetPlatformKernelVersion(): also output the build number

I.e. output 6.2.9200, not just 6.2.
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-01-30 16:57:43 +01:00 committed by Alexander A. Klimov
parent a65f2d6b41
commit 85fc3b7393

View file

@ -1708,7 +1708,7 @@ String Utility::GetPlatformKernelVersion()
GetVersionEx(&info);
std::ostringstream msgbuf;
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion;
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion << "." << info.dwBuildNumber;
return msgbuf.str();
#else /* _WIN32 */